[SLOF] [PATCH slof 00/13] Compile with -Wextra

Alexey Kardashevskiy aik at ozlabs.ru
Wed Jan 27 19:57:39 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.

This is a series to make possible bisecting easier.


This is based on sha1
6184ca06c8d8 Gustavo Romero "board-qemu: Fix comment about SLOF start address".

Please comment. Thanks.



Alexey Kardashevskiy (13):
  helpers: Define MIN()
  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/helpers.h          |  1 +
 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 | 15 ++++++++-------
 lib/libc/string/memmove.c  |  2 +-
 lib/libe1k/e1k.c           | 16 ++++++++--------
 lib/libelf/elf.c           |  2 +-
 lib/libelf/elf32.c         |  4 ++--
 lib/libelf/elf64.c         |  6 +++---
 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   |  7 +++----
 lib/libusb/usb-core.c      |  4 ++--
 lib/libusb/usb-hid.c       |  2 +-
 lib/libusb/usb-ohci.c      | 12 +++++-------
 lib/libusb/usb-xhci.c      |  4 ++--
 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, 98 insertions(+), 89 deletions(-)

-- 
2.17.1



More information about the SLOF mailing list