summaryrefslogtreecommitdiffstats
path: root/import
diff options
context:
space:
mode:
authorLuis Fernandez <Luis.Fernandez@ibm.com>2019-08-14 22:40:28 -0500
committerhostboot <hostboot@us.ibm.com>2019-09-05 04:01:10 -0500
commit8df77fd26804457df401de87dada9729309893d5 (patch)
treeaada4203b2f16617b6f88af6a1912dfe4ae71d98 /import
parentc7e1ca8c097d4e64f6d394262c72c5c34351e688 (diff)
downloadtalos-hcode-8df77fd26804457df401de87dada9729309893d5.tar.gz
talos-hcode-8df77fd26804457df401de87dada9729309893d5.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>
Diffstat (limited to 'import')
-rw-r--r--import/chips/p9/xip/p9_xip_image.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/import/chips/p9/xip/p9_xip_image.h b/import/chips/p9/xip/p9_xip_image.h
index 5c541e69..05133204 100644
--- a/import/chips/p9/xip/p9_xip_image.h
+++ b/import/chips/p9/xip/p9_xip_image.h
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HCODE Project */
/* */
-/* COPYRIGHT 2015,2018 */
+/* 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
OpenPOWER on IntegriCloud