mbox series

[00/10] Misc sparse fixes

Message ID 20190718065117.16923-1-stewart@linux.ibm.com
Headers show
Series Misc sparse fixes | expand

Message

Stewart Smith July 18, 2019, 6:51 a.m. UTC
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(-)

Comments

Oliver O'Halloran July 19, 2019, 10:11 a.m. UTC | #1
On Thu, Jul 18, 2019 at 4:52 PM Stewart Smith <stewart@linux.ibm.com> wrote:
>
> 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(-)

Series merged as 648c7cfd4c0d94a17a51a94afc5f7da60b7b2898

>
> --
> 2.21.0
>
> _______________________________________________
> Skiboot mailing list
> Skiboot@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/skiboot