SLOF/lib
Alexey Kardashevskiy 26d8ba1703 elf: Compile with -Wextra
-Wextra enables a bunch of rather useful checks which this fixes.

This changes the return value for the case when no ELF headers were found
to avoid (ugly-ish) cast of -1 to unsigned.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
---
Changes:
v2:
* cast the return value to (int)
* added missing (long)
2021-02-12 13:41:47 +11:00
..
libbases Fix js2x build 2013-06-27 19:31:42 +10:00
libbcm Include make.rules in the library Makefiles 2015-03-23 11:43:20 +11:00
libbootmenu A new SLOF boot menu 2017-06-08 16:14:21 +10:00
libbootmsg libbootmsg: Do not use '\b' characters when printing checkpoints 2016-02-24 20:26:41 +11:00
libc libc: Compile with -Wextra 2021-02-09 12:39:52 +11:00
libe1k Include make.rules in the library Makefiles 2015-03-23 11:43:20 +11:00
libelf elf: Compile with -Wextra 2021-02-12 13:41:47 +11:00
libhvcall rtas: Move FWNMI log space reservation to QEMU 2020-03-17 09:42:50 +11:00
libipmi JS2x: Added oco files to be able to built board-js2x 2011-12-20 17:56:48 +01:00
libnativeio Move MMIO accessors to board-js2x and implement h-calls based ones for qemu 2011-10-12 13:20:00 +02:00
libnet ipv6: Fix gcc9 warnings 2019-10-22 14:35:36 +11:00
libnvram rtas-nvram: optimize erase 2016-05-19 13:53:32 +10:00
libtpm helpers: Define MIN() 2021-01-28 14:22:49 +11:00
libusb libusb: Fix compiler warnings with gcc9 2019-10-22 14:15:41 +11:00
libveth Include make.rules in the library Makefiles 2015-03-23 11:43:20 +11:00
libvirtio virtio-serial: Close device completely 2020-03-11 15:43:22 +11:00
Makefile tpm: Add TPM CRQ driver implementation 2020-02-21 14:03:07 +11:00