From nobody Fri Apr 05 15:18:04 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 4VB2DX3jtRz5Gf2M; Fri, 5 Apr 2024 15:18:04 +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 4VB2DX247Bz4LLj; Fri, 5 Apr 2024 15:18:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712330284; 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=QI2DYSNUZGRhph7JxmVaLs1y21hZQdxDGU347TXtgPQ=; b=RLj1h0LPzqs0Lnq+uTlTs8OMtzIWcQa+zVzrU49pF/kXRCbQoiGxpUblLMwtl8yZxs+53i WXSjVKORtxv4PYkZ1zGsn5HylkA2qZV9J0g9KtaarmPcNrNuYovqKofv9g8QCLJC7Wnp2F 8M3MntwFePcnkZhEOxgsRGs1IqqsAJGOGXttUexNva0UgiLjGdWRdCJAITG5zAJCsH+hiE 1fY6SbFoOyw7JrLpAUJZEhNQjbQbx5/LBQgfgLBAkmyuXfuMWx75ePIkzmjAHOk+oyah7J Bv/dl4hPSbJH4cq/9JuTbXvNxyNafc9d2NbOuBN7RK/1rBCIZB8qRVLRmwt7ng== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712330284; a=rsa-sha256; cv=none; b=X2D8oFUqzO+d+h+i3nZYjiyJ/7AR3tt/X8cyrz7z9j3AaOYNlshy6mNkWSMrK81wNww70Q 2rxg16K19NbIk7qfhm5q9GDGtthX+e+0yIEzsWiwcULd7A4/WRnlTmYPq+UhYiURPrdJMc +IRbE7WizmJuVMC2wnXiAEi4Idg+9OSWhn7HdDPN/0IR7vmh1XPLoOBiuAgPijidrsTeS9 FJh7CMhYrLq+FIP87IX1ZFLa7BuUUOxDBIJpiVm0A+YVQ3SQUv+s/UUXiSe3LHlGxGzoZ5 gbsgb/mlEH2dIYJA4sCbbtc+cQX5oy3LmOR+5RjRJSHFF1u0rF1iDxKq5KN7pw== 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=1712330284; 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=QI2DYSNUZGRhph7JxmVaLs1y21hZQdxDGU347TXtgPQ=; b=kuLVBfO5+/EgIE+2PrflkCRqgwXpcVIDR7MmEML/EjbRy2LClhGpEmiTIxQ4USNrH1Zl0G eVH0pP6gx4J6wDCvF6DdNK3wLz0pO1MvcXX0EzN3JgmHl/FIl6oONnFAMbGIbyj7RSpkfY GyVhAE0Kmr0/C5HcbyLlrWpkD7wBIsKyjy/c7SBpPWGw7C6TO4TChJWAJcLhti9OwfXIJU vd5iD+NTuEYQfB5gW4jxMq+BAz7qPTkazURsOtmbOc0I5/qmnhcyxALdW35SBz4UR4kuG6 6JMdDtksRNV4akB0TTwWrVUWU66D49Mh4JP6GM/MT3ySAadGZ0Mt1Yyr/xUpQg== 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 4VB2DX1hHkz14x5; Fri, 5 Apr 2024 15:18:04 +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 435FI4w9078330; Fri, 5 Apr 2024 15:18:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 435FI4WK078327; Fri, 5 Apr 2024 15:18:04 GMT (envelope-from git) Date: Fri, 5 Apr 2024 15:18:04 GMT Message-Id: <202404051518.435FI4WK078327@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 29a6b72775ee - main - acpidump: bump WARNS to 6 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 29a6b72775eeed08a5ecb8f6c1b0c364196d73df Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=29a6b72775eeed08a5ecb8f6c1b0c364196d73df commit 29a6b72775eeed08a5ecb8f6c1b0c364196d73df Author: Konstantin Belousov AuthorDate: 2024-04-03 03:00:25 +0000 Commit: Konstantin Belousov CommitDate: 2024-04-05 15:17:55 +0000 acpidump: bump WARNS to 6 and disable warnings about unused function args coming from the vendor acpi headers. Reviewed by: markj Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D44634 --- usr.sbin/acpi/acpidump/Makefile | 1 - usr.sbin/acpi/acpidump/acpidump.h | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/usr.sbin/acpi/acpidump/Makefile b/usr.sbin/acpi/acpidump/Makefile index 9bd54a80f779..d0bb14284c1a 100644 --- a/usr.sbin/acpi/acpidump/Makefile +++ b/usr.sbin/acpi/acpidump/Makefile @@ -2,6 +2,5 @@ PROG= acpidump MAN= acpidump.8 SRCS= acpi.c acpi_user.c acpidump.c -WARNS?= 3 .include diff --git a/usr.sbin/acpi/acpidump/acpidump.h b/usr.sbin/acpi/acpidump/acpidump.h index 857d230bb871..80f86a748d76 100644 --- a/usr.sbin/acpi/acpidump/acpidump.h +++ b/usr.sbin/acpi/acpidump/acpidump.h @@ -30,9 +30,12 @@ #ifndef _ACPIDUMP_H_ #define _ACPIDUMP_H_ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-parameter" #include #include #include +#pragma GCC diagnostic pop /* GAS address space ID constants. */ #define ACPI_GAS_MEMORY 0