Message ID | 20180730183059.28039-1-colin.king@canonical.com |
---|---|
Headers | show
Return-Path: <fwts-devel-bounces@lists.ubuntu.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=fwts-devel-bounces@lists.ubuntu.com; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41fSnR0Fvwz9ryl; Tue, 31 Jul 2018 04:31:06 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from <fwts-devel-bounces@lists.ubuntu.com>) id 1fkCwg-0002tN-EP; Mon, 30 Jul 2018 18:31:02 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from <colin.king@canonical.com>) id 1fkCwe-0002s8-EM for fwts-devel@lists.ubuntu.com; Mon, 30 Jul 2018 18:31:00 +0000 Received: from 1.general.cking.uk.vpn ([10.172.193.212] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from <colin.king@canonical.com>) id 1fkCwe-0006rS-4k; Mon, 30 Jul 2018 18:31:00 +0000 From: Colin King <colin.king@canonical.com> To: fwts-devel@lists.ubuntu.com Subject: [PATCH 0/7] abstract _Pragmas and minor changes to build with gcc and clang Date: Mon, 30 Jul 2018 19:30:52 +0100 Message-Id: <20180730183059.28039-1-colin.king@canonical.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Firmware Test Suite Development <fwts-devel.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/fwts-devel>, <mailto:fwts-devel-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/fwts-devel> List-Post: <mailto:fwts-devel@lists.ubuntu.com> List-Help: <mailto:fwts-devel-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/fwts-devel>, <mailto:fwts-devel-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: "fwts-devel" <fwts-devel-bounces@lists.ubuntu.com> |
Series |
abstract _Pragmas and minor changes to build with gcc and clang
|
expand
|
From: Colin Ian King <colin.king@canonical.com> The aim of this patch set is to abstrace the gcc specific _Pragmas and add some minor changes so that fwts can be build with gcc as well as clang. Colin Ian King (7): lib: fwts: Add abstracted pragma macros to push/pop state and disable warnings fwts_uefi.h: replace _Pragmas with abstracted pragma macros Wrap ACPI_ROOT_OBJECT with PRAGMA_NULL_PTR_MATH for clang builds lib/src/fwts_acpi_tables: disable clang warning lib: fwts_coreboot_cbmem.c: initialize all fields in array of structs uefi: uefirtauthvar: don't logically or a constant operand. dmi: dmicheck: remove redundant array fwts_dmi_chassis_type src/acpi/madt/madt.c | 3 ++ src/dmi/dmicheck/dmicheck.c | 48 +------------------ src/lib/include/fwts.h | 64 ++++++++++++++++++++++++++ src/lib/include/fwts_smbios.h | 3 ++ src/lib/include/fwts_uefi.h | 10 ++-- src/lib/src/fwts_acpi_tables.c | 6 +++ src/lib/src/fwts_coreboot_cbmem.c | 2 +- src/sbbr/acpitables/acpitables.c | 3 ++ src/uefi/uefirtauthvar/uefirtauthvar.c | 6 +-- 9 files changed, 87 insertions(+), 58 deletions(-)