From nobody Tue May 07 20:54:16 2024 X-Original-To: dev-commits-src-main@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 4VYr9j1ktTz5Jg6W; Tue, 07 May 2024 20:54:17 +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 4VYr9j1ByNz55GQ; Tue, 7 May 2024 20:54:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715115257; 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=+UJ6eCUXy23lnBO4/Sc7jF8hUktjFQBfRM3KzfXgr9A=; b=yZInqbVaCJOQKjy9g5JN6D6FW186nKxo1l/IKx8qMkag/ayKEkyQIoB0Tu8OlHgAN2byH2 QgSom6XU6Xzde85s0PTWe+1u9p40VmYxd7P34z511UUuDeRdZqeX+Uc/LH9EERezT9Ac/B qyKfANuk0uGRMqdd9dHyjre4IjYIcuRr/xHwFMgaMBv+ywU4ydR92nL0zqGNHeoVoEOWEp 2Fo5whjHL8oiPgPCc2UWW//7BJaaz8V6ibROBRP96cdLTofAqvFgHAVkR8fGyq0/etCLr5 TuDNl+8IZjgfWOx1umtfXZX94zRjhUduCAyGVrs3XMGgefGfDSXBnj2Ha9GdXg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715115257; a=rsa-sha256; cv=none; b=yKBZwUuffpTid50dbM6pn5qvYOik3w6ziL1U8MOgpc7X5dp0N9KdGgqsBDpAhQk1ox1TGP i5ItRuFEVbzGh/7Qx4eyVfw484bZxnVwQ3RhTGHCh5QzqrBAR4oaUrU2ijyfi4ptATdONa PKurQ0HBxFDCVeTUFQspL0+AhSjnLvkIbBJhNyqwKCyUEenuWhRLVKuoMOabxR2k4UcPG3 o5fGrFhVqow8c2DSs9Pv4mAtnKSSEkS1NesjybodRe/pTyVUV2o8VcE9eNX9cwa1zigYLO JBY9DowxbtZMDUjNBGL/Ec31VbIXU8uHDuxO6ZOA/I+KyyFRIMvzXhOa01X1iA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715115257; 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=+UJ6eCUXy23lnBO4/Sc7jF8hUktjFQBfRM3KzfXgr9A=; b=KqhQyLvDSsTjBPx2+P2RUmRe0hc6pSMrRo8X4vS0AZAGifynrIbBARmr+d0ixg2ezZW7D9 ZY8fNIeto5TGT0rEHyP6qRHp4k2lf7s2i+Z2KLGiblJyQLOPgGZq8XzSc5OZXNu6vDSZ63 zVdfwjX6loIa9j0bmhIDYUvxm8lJUyGxK4CKsVhyivLX9vcNX3i595sM6INLs/DKfBRSuo G8DQov3ST9jR9GZy2OZ2Yp3qzD9CICMmUsowUyEkECBAX8gZW3kT1Qt7FtpdLA4CYre0mP Y/e9NW9+hGGOwEAf8XRZmiVvmElt3Ci41DwwOFccx+xYcSQqJvq60m70X+CJog== 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 4VYr9j0grWzwJ2; Tue, 7 May 2024 20:54:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 447KsG6X039815; Tue, 7 May 2024 20:54:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 447KsGnm039812; Tue, 7 May 2024 20:54:16 GMT (envelope-from git) Date: Tue, 7 May 2024 20:54:16 GMT Message-Id: <202405072054.447KsGnm039812@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: 766c4ad385cc - main - libzpool: Disable -Wpointer-to-int-cast warnings for GCC List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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: 766c4ad385ccf96f8cf10129363a6bfa58b3e92f Auto-Submitted: auto-generated The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=766c4ad385ccf96f8cf10129363a6bfa58b3e92f commit 766c4ad385ccf96f8cf10129363a6bfa58b3e92f Author: John Baldwin AuthorDate: 2024-05-07 19:32:58 +0000 Commit: John Baldwin CommitDate: 2024-05-07 20:54:00 +0000 libzpool: Disable -Wpointer-to-int-cast warnings for GCC This warning is already disabled for zfs.ko. --- cddl/lib/libzpool/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cddl/lib/libzpool/Makefile b/cddl/lib/libzpool/Makefile index f641edaccb52..149c14919028 100644 --- a/cddl/lib/libzpool/Makefile +++ b/cddl/lib/libzpool/Makefile @@ -288,6 +288,8 @@ CSTD= c99 CFLAGS+= -g -DDEBUG=1 +CFLAGS.gcc+= -Wno-pointer-to-int-cast + # Pointer values are used as debugging "tags" to mark reference count # ownerships and in some cases the tag reference is dropped after an # object is freed.