From nobody Wed Nov 23 18:35:45 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NHVDy1vfnz4j1J1; Wed, 23 Nov 2022 18:35:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NHVDy14yBz3k4s; Wed, 23 Nov 2022 18:35:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669228546; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=76ugTP/NAuERYvnOadNE56kof4bMz2MfwM+T6mmZTDU=; b=ecPMRYs0TNbm+Xhx+pdIQbp5ZRmwuC25ufCyMi8SaBKsq5jvWMFHenWLed6KwZ80gqPbmZ wczbsq+hcyBhshPjJF7kl/92qMbHq1Ao9NLMsRoktsqaPpCXcz+taKITZ6F8YV28r/jvmY VmuaJPR0m+FdOkOGUXPbqLbQgL2/anInJJPxOrz32+6GJptMjEPOqlxmJOD+QByO5/31q6 QcYY/Bry1HbgB3h7R7SxKzly9sCPLK/P6rqwg2rTWu1ogpb8jbY+9pMW/lqq6peXQzNGFP fQ3OtMGj3hSAXJmHsgqvp11+Aer58Cy41T9ZmUwaM2M1K7ZlE+OaAfLLyqhY9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669228546; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=76ugTP/NAuERYvnOadNE56kof4bMz2MfwM+T6mmZTDU=; b=sUjvdorJhv0KGMRiFZono8I5RW8ONJ6GuACv1VcXQo34UwUpF0W2AHMTHP3+cdt6yTvTxi rP+wJ4f28H5fX3muy0y5rs1p9J5BuQ0kr1hvgYfFjVxYKfgZw/WZuc/zMxbqsIDFMrzqlC iPXOoUVC6un7x20XD3KO6VmxsuWhnlulw/6eB4Cv04br8kEupL+r1z6OP98YbUMiqN+hVz Nq18wuY/Srp4szPX3cI5O8GANSzK1BjAFp6atXBDXK5XuK4afoIaybWVB5en5DfzC+TGOr pV293fX0Fq/c33gmmsw26wMjWwpnvHzDuzCep1YhK1OTJSUcajnddgDVnxFt0w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669228546; a=rsa-sha256; cv=none; b=MroDcFMImSegxkAAHkL3iCRFE4avk+/t0OCjJq75zmM8szBO6QdAu+/QSVltoGRmn924tX HO/xFNeZ1+2tQpBhe6qdczupjQ/EGoxIOYZvYke6HsdxCzTwhH4J0meLwUF7oNtUZNCIbu RIZDAEnCdMMmJ6v2lmvL0sQtVVQFz0405+3a+G75rdgbO3DGiPMHg0+witGfCJCu6UuOj1 9Ck2q5RfyAktNaui7WiNyQ4Q7VhtJAhcLVof8YfUQ9xf9RsoVYuxHa7kwM9a2rV9Izcvmf KjtQnNofZtqHIPn070fZY4UdF16kbW7O+HasXoEi+FIcyj1sxTV1VpCrpHgrHw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NHVDx73kSzXcs; Wed, 23 Nov 2022 18:35:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2ANIZjxZ067387; Wed, 23 Nov 2022 18:35:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2ANIZjfe067386; Wed, 23 Nov 2022 18:35:45 GMT (envelope-from git) Date: Wed, 23 Nov 2022 18:35:45 GMT Message-Id: <202211231835.2ANIZjfe067386@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 82ac811efaa6 - main - makefs zfs: Disable -Wunused-function for GCC as well. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 82ac811efaa683f406f6e8ece01aec1e772c201c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=82ac811efaa683f406f6e8ece01aec1e772c201c commit 82ac811efaa683f406f6e8ece01aec1e772c201c Author: John Baldwin AuthorDate: 2022-11-23 18:35:30 +0000 Commit: John Baldwin CommitDate: 2022-11-23 18:35:30 +0000 makefs zfs: Disable -Wunused-function for GCC as well. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D37469 --- usr.sbin/makefs/zfs/vdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/makefs/zfs/vdev.c b/usr.sbin/makefs/zfs/vdev.c index 63a6e7289957..46d2f3da6385 100644 --- a/usr.sbin/makefs/zfs/vdev.c +++ b/usr.sbin/makefs/zfs/vdev.c @@ -38,11 +38,11 @@ #include "zfs.h" -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wunused-function" +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-function" #include "zfs/fletcher.c" #include "zfs/sha256.c" -#pragma clang diagnostic pop +#pragma GCC diagnostic pop static void blkptr_set(blkptr_t *bp, off_t off, off_t size, uint8_t dntype, uint8_t level,