[Skiboot] [PATCH 0/3] Sparse warning fixes

Stewart Smith stewart at linux.ibm.com
Mon Dec 17 18:28:07 AEDT 2018


I poked at what warnings were coming out of a build with sparse (i.e.
make C=1) and set myself up a jenkins job to help track them.

We start off with 813 or so warnings. These patches fix ~160 of them.

There shouldn't be any functional changes.

Stewart Smith (3):
  sparse: Make tree 'constant is so big' warning clean
  zz: platform_ocapi can be static
  zaius: zaius_ocapi can be static

 hw/capp.c                   |   4 +-
 hw/npu.c                    |   6 +-
 hw/npu2-hw-procedures.c     |  40 +++---
 hw/npu2-opencapi.c          |   4 +-
 hw/npu2.c                   |   4 +-
 hw/p7ioc-phb.c              |   6 +-
 hw/phb3.c                   | 244 ++++++++++++++++++------------------
 hw/phb4.c                   |  48 +++----
 hw/xscom.c                  |   4 +-
 include/npu-regs.h          |  48 +++----
 include/npu2-regs.h         |   2 +-
 include/opal-internal.h     |   2 +-
 include/pci-slot.h          |   2 +-
 include/stack.h             |   2 +-
 platforms/astbmc/common.c   |   2 +-
 platforms/astbmc/garrison.c |   4 +-
 platforms/astbmc/p8dnu.c    |   4 +-
 platforms/astbmc/zaius.c    |   4 +-
 platforms/ibm-fsp/zz.c      |   2 +-
 19 files changed, 216 insertions(+), 216 deletions(-)

-- 
2.20.0



More information about the Skiboot mailing list