From nobody Tue Nov 29 01:10:53 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 4NLkmZ0LQHz4jSdq; Tue, 29 Nov 2022 01:10:54 +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 4NLkmY6kB2z42Hy; Tue, 29 Nov 2022 01:10:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669684253; 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=VaXOLmGAce+ErpSkmb1QV+R1IYwRiDbrodBlpxrcOW8=; b=K3ImbhafTlw975rzxDjTKJx3lf93B4iFlgH7n/Gs21nycO4GLmqwJ/1h+jBsOrxo0zUhcy /09llcNs7S+M9/9zrf76f30bCg/9C/Dv1wS29Rar2czA+YXPEO/+2qQNAgmAWlV1mmu5gW lZt3irnYDDzxbWMdH1wsh02gUXRFKA67Qp/K+6DMzGXguWKwcdCGX0HntVlf7Kg5HXcOrE vo3QtpCeHhXahYQsFiVTE6Sz+OR8gDZaq2Ll53rQr5LfvTREeKTi70lYG/hRpyJrlPhhUM 2t6TPeKb0K7Z1kJL0d7M10p2vaDNyXfFXqwyAf5QrR5Cx+aODyyoPfLGtvFJEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669684253; 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=VaXOLmGAce+ErpSkmb1QV+R1IYwRiDbrodBlpxrcOW8=; b=vqSFHxCV5pHjRttPPOB3K0UZ4YIKSUKLX/DcbRR9ri2M9egHU71rCrFMEgtNysTbuwreXg NeGeywIjfw24x8aRwMGFEetjybQstHQmq8Up3eAJY9atO09l2AbwcqV9eXuXnLzf7FiW8k R1ZXi05F0gvh1+BBEyS+usy40qKCS3wj9PGUodmpBZijuvNs7a4DatOIJkDqR00tH2gvpu 0EIcOz7paewNaNMG5FoOgNBnQn1wAGBEvCPLuR6T8TQ/5PXlsuxxYJ3iEbYgSJVNqbjcov 1H+qN7ygQncC8yOWFaWEWBmCQRX2lwbE9yCG/jV0pwTR/4VopWzENPi5woFJ6w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669684253; a=rsa-sha256; cv=none; b=UQ6E7SbLxGtBdyeGfSPGOXryAU9KW4V0LSwX+VGNYxZ1Lj8mCi4CzivrmQrf/u1PeVwYN4 2XvejzlMzi+XCzrGPJWCv/6/kTrqD26jT5xx7H+x/7JljX4jCLccfzN5o9Hjqu8H3hXQE+ 0BXF0lMKsu3TEfwb0XjmytF3BJ/aIYri8QUIFx4Sqhcir5DLVygyzvhIo/ueYKAo7XkEwf kTbPsc7RrY1wB7eBaCz1D2UZONsV02ukswTYeMl1k/eM7OrSGYCRhyIvta5S03T8ktHQp3 QVNYcQj9+ctRsL/GYBdxYKMK3wYZCBFD3oADGOQ8/e4PxyMnxTjbjG/4XvIhRw== 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 4NLkmY5p0rzyS3; Tue, 29 Nov 2022 01:10:53 +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 2AT1ArUs045163; Tue, 29 Nov 2022 01:10:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AT1ArdU045162; Tue, 29 Nov 2022 01:10:53 GMT (envelope-from git) Date: Tue, 29 Nov 2022 01:10:53 GMT Message-Id: <202211290110.2AT1ArdU045162@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: 0acf696151e3 - main - bhyve basl: Use GCC pragmas. 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: 0acf696151e3c43967988c8271aa27683566a755 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=0acf696151e3c43967988c8271aa27683566a755 commit 0acf696151e3c43967988c8271aa27683566a755 Author: John Baldwin AuthorDate: 2022-11-29 01:07:39 +0000 Commit: John Baldwin CommitDate: 2022-11-29 01:07:39 +0000 bhyve basl: Use GCC pragmas. These work with both clang and GCC. Reviewed by: corvink, markj Differential Revision: https://reviews.freebsd.org/D37484 --- usr.sbin/bhyve/basl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/bhyve/basl.h b/usr.sbin/bhyve/basl.h index 71b3e6dc07fc..78beba1bcad1 100644 --- a/usr.sbin/bhyve/basl.h +++ b/usr.sbin/bhyve/basl.h @@ -6,10 +6,10 @@ #pragma once -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-parameter" #include -#pragma clang diagnostic pop +#pragma GCC diagnostic pop #define ACPI_GAS_ACCESS_WIDTH_LEGACY 0 #define ACPI_GAS_ACCESS_WIDTH_UNDEFINED 0