[Skiboot] [PATCH 00/10] Misc sparse fixes

Stewart Smith stewart at linux.ibm.com
Thu Jul 18 16:51:07 AEST 2019


In the forever quest to get to near-zero warnings from sparse, I had
another crack at a bunch of them.

Stewart Smith (10):
  Silence sparse warning for version.c
  sparse: Silence "directive in argument list" for version string
  sparse: fix (main|secondar)_cpu_entry declaration types
  sparse: fix endian types of struct imc_chip_cb members
  sparse: various SPIRA structures, declare them.
  sparse: lpc uart interrupt pointer endianness
  sparse: hdata/fsp: u8 doesn't have endian
  sparse: hdata/iohub: correctly convert endianness
  sparse: hdata/spira sw_xstop_fir_bitpos is uint8_t, has no endian
  sparse: libstb/container: fix endian type for magic number

 Makefile.main            |  1 +
 core/init.c              | 20 +++++++++++---------
 hdata/fsp.c              |  2 +-
 hdata/iohub.c            |  2 +-
 hdata/spira.c            | 11 +++++++++--
 hdata/test/op920.wsp.dts |  4 ++--
 hw/lpc-uart.c            |  2 +-
 include/imc.h            | 12 ++++++------
 libstb/container.c       |  2 +-
 9 files changed, 33 insertions(+), 23 deletions(-)

-- 
2.21.0



More information about the Skiboot mailing list