diff options
author | Luis Fernandez <Luis.Fernandez@ibm.com> | 2019-08-14 22:40:28 -0500 |
---|---|---|
committer | Nicholas E Bofferding <bofferdn@us.ibm.com> | 2019-08-19 16:06:18 -0500 |
commit | 6faf10f436d7721d8733cb1108ebd15c53d15ce8 (patch) | |
tree | 6d3f830e8190c543a90a3d47531b1ae61af87b3c /src/import/chips/p9/xip | |
parent | 794efce0c21613f12b67db9a7e52d162976d4d4a (diff) | |
download | talos-hostboot-6faf10f436d7721d8733cb1108ebd15c53d15ce8.tar.gz talos-hostboot-6faf10f436d7721d8733cb1108ebd15c53d15ce8.zip |
HB Implement Static Analysis with cppcheck
Inline cppcheck-suppressions for false positives.
HB (which pulls in files edited here) will start having the option to
implement cppcheck.
Change-Id: I08adcf3a344295621c5730fc04516f806c6b85bd
RTC: 201451
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/82267
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com>
Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com>
Reviewed-by: Glenn Miles <milesg@ibm.com>
Reviewed-by: Nicholas E Bofferding <bofferdn@us.ibm.com>
Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/82295
Diffstat (limited to 'src/import/chips/p9/xip')
-rw-r--r-- | src/import/chips/p9/xip/p9_xip_image.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/import/chips/p9/xip/p9_xip_image.h b/src/import/chips/p9/xip/p9_xip_image.h index 76bc2bad1..7821ca642 100644 --- a/src/import/chips/p9/xip/p9_xip_image.h +++ b/src/import/chips/p9/xip/p9_xip_image.h @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2018 */ +/* Contributors Listed Below - COPYRIGHT 2015,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -1619,6 +1619,7 @@ p9_xip_decode_toc_dump(void* i_image, void* i_dump, .macro .xip_toc, index:req, type:req, address:req, elements=1 .if (((\type) < 1) || ((\type) > P9_XIP_MAX_TYPE_INDEX)) + // cppcheck-suppress syntaxError .error ".xip_toc : Illegal type index" .endif |