[Skiboot] [PATCH 0/7] fix llvm scan-build warnings

Stewart Smith stewart at linux.vnet.ibm.com
Tue Nov 10 18:44:06 AEDT 2015


More things fixed from static analysis, this time from LLVM scan-build.

While LLVM will not build a bootable skiboot, it can be coaxed into
giving scan-build output.

Stewart Smith (7):
  llvm-scan-build: fix dead assignment in fsp-leds.c
  llvm-scan-build: fix value stored during init is never read in npu.c
  llvm-scan-build: fix value stored to tfmr during init is never read
  llvm-scan-build: fix value stored to end during init never read in
    phb3.c
  llvm-scan-build: fix value stored to rc never read in hw/occ.c
  llvm-scan-build: fix result of << is undefined
  llvm-scan-build: fix dead assignment in hw/lpc.c

 hw/chiptod.c      |  2 +-
 hw/fsp/fsp-leds.c |  2 --
 hw/fsp/fsp.c      |  6 +++++-
 hw/lpc.c          | 11 +++++++++--
 hw/npu.c          |  2 +-
 hw/occ.c          | 11 +++++++++++
 hw/phb3.c         |  2 +-
 7 files changed, 28 insertions(+), 8 deletions(-)

-- 
2.1.4



More information about the Skiboot mailing list