[PATCH 0/2] Add -Wextra and FWTS_UNUSED to fwts tests

Colin King colin.king at canonical.com
Thu Oct 25 13:22:30 UTC 2012


From: Colin Ian King <colin.king at canonical.com>

In a vain hope to catch any subtle or stupid bugs during development
I'm now adding -Wextra to the tests too. This requires some more 
FWTS_UNUSED() arg macro wrapping.

Colin Ian King (2):
  tests: use FWTS_UNUSED on unused func args
  Makefile.am: enable -Wextra

 src/Makefile.am                    |    2 +-
 src/acpi/acpidump/acpidump.c       |    2 +
 src/acpi/acpiinfo/acpiinfo.c       |    6 +++
 src/acpi/acpitables/acpitables.c   |    3 ++
 src/acpi/brightness/brightness.c   |    2 +
 src/acpi/common/common.c           |    2 +
 src/acpi/dmar/dmar.c               |    5 +++
 src/acpi/klog/klog.c               |    2 +
 src/acpi/mcfg/mcfg.c               |    2 +
 src/acpi/method/method.c           |   86 ++++++++++++++++++++++++++++++++++++
 src/acpi/s3/s3.c                   |    6 +++
 src/acpi/s3power/s3power.c         |    6 +++
 src/acpi/s4/s4.c                   |    5 +++
 src/acpi/syntaxcheck/syntaxcheck.c |    2 +
 src/bios/ebda_region/ebda_region.c |    2 +
 src/bios/mtrr/mtrr.c               |    2 +
 src/bios/multiproc/mpcheck.c       |    2 +
 src/bios/multiproc/mpdump.c        |    2 +
 src/bios/os2gap/os2gap.c           |    2 +
 src/cpu/msr/msr.c                  |    2 +
 src/cpu/virt/virt.c                |    2 +
 src/hotkey/hotkey/hotkey.c         |    2 +
 src/hpet/hpet_check/hpet_check.c   |    2 +
 src/kernel/oops/oops.c             |    2 +
 src/pci/maxreadreq/maxreadreq.c    |    2 +
 src/uefi/uefirttime/uefirttime.c   |    1 +
 26 files changed, 153 insertions(+), 1 deletion(-)

-- 
1.7.10.4




More information about the fwts-devel mailing list