[SLOF] [PATCH slof v2 00/12] Compile with -Wextra

Alexey Kardashevskiy aik at ozlabs.ru
Tue Feb 9 12:44:45 AEDT 2021


Following the conversation at
https://patchwork.ozlabs.org/project/slof/patch/20210122172133.2074177-1-f4bug@amsat.org/
this enables -Wextra with the exception of -Wno-unused-parameter
(which this patchset fixes as well, mostly, but not 100%).

This is a series to make possible bisecting easier.

This is based on sha1
b7ea243afd39 Thomas Huth "virtio-serial: Remove superfluous serial-* words".

Please comment. Thanks.



Alexey Kardashevskiy (12):
  libc: Compile with -Wextra
  elf: Compile with -Wextra
  usb: Compile with -Wextra
  veth: Compile with -Wextra
  virtio: Compile with -Wextra
  e1000: Compile with -Wextra
  libnet: Compile with -Wextra
  libhv: Compile with -Wextra
  libnvram: Compile with -Wextra
  libtpm: Compile with -Wextra
  slof/prim: Compile with -Wextra
  Makefile: Actually compile with -Wextra

 include/libelf.h           |  6 +++---
 include/ppcp7/cache.h      |  2 +-
 lib/libnet/netapps.h       |  4 ++--
 lib/libnvram/nvram.h       | 10 +++++-----
 lib/libveth/veth.h         |  2 +-
 lib/libc/stdio/vsnprintf.c | 13 +++++++------
 lib/libc/string/memmove.c  |  2 +-
 lib/libe1k/e1k.c           | 16 ++++++++--------
 lib/libelf/elf.c           |  2 +-
 lib/libelf/elf32.c         |  6 +++---
 lib/libelf/elf64.c         |  8 ++++----
 lib/libhvcall/rfill.c      |  2 +-
 lib/libnet/netload.c       |  4 ++--
 lib/libnet/ping.c          |  6 +++---
 lib/libnet/pxelinux.c      |  5 +++--
 lib/libnvram/envvar.c      | 13 ++++++-------
 lib/libnvram/nvram.c       | 13 ++++++-------
 lib/libtpm/tcgbios.c       | 10 +++++-----
 lib/libtpm/tpm_drivers.c   |  5 +++--
 lib/libusb/usb-core.c      |  4 ++--
 lib/libusb/usb-ehci.c      |  3 ++-
 lib/libusb/usb-hid.c       |  2 +-
 lib/libusb/usb-ohci.c      | 12 +++++-------
 lib/libusb/usb-xhci.c      | 17 +++++++++--------
 lib/libveth/veth.c         |  8 ++++++--
 lib/libvirtio/p9.c         |  8 ++++----
 lib/libvirtio/virtio.c     |  2 +-
 slof/ppc64.c               | 12 +++++++++---
 make.rules                 |  2 +-
 slof/prim.code             |  3 +++
 30 files changed, 108 insertions(+), 94 deletions(-)

-- 
2.17.1



More information about the SLOF mailing list