From nobody Thu Jan 26 20:27:10 2023 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 4P2sgz0ycRz3btSS; Thu, 26 Jan 2023 20:27:11 +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 4P2sgz0XwWz3QwN; Thu, 26 Jan 2023 20:27:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674764831; 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=n1kbbUKyk35wOsMVbhPZcxd7gGTZv0CF3zn/mBIxmew=; b=q15tqWbg4S24/GMChSLFyoOghELAFSKsSsOPKDWhSStdfC3zLMWd5o3Y3N6gfsWW5JTBbP aV0zeOescrCsq8ipQjxJWfWd62/BA4WTeBpj2qaPylZEJGZKKtimfZWWeq5jDl9N8ZsPZq KQr00G1sJyxME3AcrJpyfaqAcVQXp8HgMF6fMW6zOMM0Gd32/fmoT/KPPhItg9eqGs8zVV Yv5ZfbO3DQA4YE04obzt+FSsp/2FKkrbV2a/8XokkIScBqeqkBm1XiCqLZop3YKq1V0xCI t32gFuZb5A4YO0drgZMS2gWEVW83b18E4RXQQqC4CPqBUN2qrD8YTrcO1udIqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674764831; 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=n1kbbUKyk35wOsMVbhPZcxd7gGTZv0CF3zn/mBIxmew=; b=JdOAU2cxOm2a0CADcE+AIHs56+Xr4W4ZidmXyK0nwLitObz+4OLpTVdev/aVk31zw2/gyf CfQ7aoWYkxxcbhnM39CGRsm3/cANRHZOhMJTy1PDX0Jc12vU/8jA6FAPt1VzwC+spDaASk gily+7WG0GNZxNuCdCyfr2wfeHaRgKezeleI3lzvQ1Zn4F3/I4S+7rIh/J+aEnnP9n0ixj hwmC8FMeJas701zy6yHDPvzniHHEeJd8O2WKZrcqTKNqd+PVGRaqMILzOqgEeWBwxcCjKu ID+NUDtKRfqyX+EbqQ6UuZEjp6/5R06oGLOf/BQ5NfrnxETO49hhlm+kuBqyDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674764831; a=rsa-sha256; cv=none; b=tvNu1u8HeOSnyTxAqZK0E5Cxo3vIqIL6hB+4680/TvADmBxFVuVDD45fHI/ryUTtOfCjta zeK2AN3vIYvjMAckqTlShPDPCKU7lBVBgJP4hLj3clHuZH2F5loa/LzwVZu2p6cDUvwiEy CTU/kjpzo/Eu6PZrD/DjGllGFlr+zY/arDk1RVUvT4k8CW8laJVeE1wb0VItuqIrsHCy1A dRQkdtXg4P1sNplWFabgMA9AWYAHLhGoTgO8x0m/OEnxx5IMogjEOCYoAM4HsKi3hgUvUu N1Qb6/n2Xa3uwbQWygJpZYxKD5j49CxIg9nDAZ/RSLjo6i/1n9NvEfFnnEfxSQ== 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 4P2sgy6mR1zjCp; Thu, 26 Jan 2023 20:27:10 +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 30QKRA3s064817; Thu, 26 Jan 2023 20:27:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30QKRAw7064816; Thu, 26 Jan 2023 20:27:10 GMT (envelope-from git) Date: Thu, 26 Jan 2023 20:27:10 GMT Message-Id: <202301262027.30QKRAw7064816@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 50c272dd2e74 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 50c272dd2e74b8c6275a4285b8a0bbfb9775bb20 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=50c272dd2e74b8c6275a4285b8a0bbfb9775bb20 commit 50c272dd2e74b8c6275a4285b8a0bbfb9775bb20 Author: John Baldwin AuthorDate: 2022-11-29 01:07:39 +0000 Commit: John Baldwin CommitDate: 2023-01-26 20:23:37 +0000 bhyve basl: Use GCC pragmas. These work with both clang and GCC. Reviewed by: corvink, markj Differential Revision: https://reviews.freebsd.org/D37484 (cherry picked from commit 0acf696151e3c43967988c8271aa27683566a755) --- 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 6f7815c13cf6..c7fdd783a9d5 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