mbox series

[0/7] abstract _Pragmas and minor changes to build with gcc and clang

Message ID 20180730183059.28039-1-colin.king@canonical.com
Headers show
Series abstract _Pragmas and minor changes to build with gcc and clang | expand

Message

Colin Ian King July 30, 2018, 6:30 p.m. UTC
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(-)