From aaf603f2edb0ccb2ebb679d25f3b938045c46674 Mon Sep 17 00:00:00 2001 From: Jim Quigley Date: Mon, 12 Oct 2020 11:49:09 +0100 Subject: [PATCH 1/2] Rcar: Disable CPP checking for Rcar platform. This patch disables CI cppcheck for the Rcar product. Change-Id: Ic9cbd4b2512bd0eb7bf79a5b3794fc8341307ea7 Signed-off-by: Jim Quigley --- tools/cppcheck_suppress_list.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/cppcheck_suppress_list.txt b/tools/cppcheck_suppress_list.txt index f798430c8..b6a5e5538 100644 --- a/tools/cppcheck_suppress_list.txt +++ b/tools/cppcheck_suppress_list.txt @@ -52,3 +52,6 @@ memleak:framework/test/fwk_test.c:145 // Cppcheck does not inspect these conditions deeply enough to know that the // dereference can only occur if the check succeeds nullPointerRedundantCheck:framework/src/fwk_io.c + +// No checking of Rcar product +*:product/rcar -- GitLab From c8abbef0707f7926611049346928828dd5858585 Mon Sep 17 00:00:00 2001 From: Jim Quigley Date: Mon, 12 Oct 2020 16:17:57 +0100 Subject: [PATCH 2/2] Rcar: Fix cppcheck suppresion format for Rcar product The syntax for skipping the Rcar product is incorrect. This patch fixes the cppcheck suppression file. Change-Id: I1d4996591354976be828595eadc8d3458a6574b4 Signed-off-by: Jim Quigley --- tools/cppcheck_suppress_list.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cppcheck_suppress_list.txt b/tools/cppcheck_suppress_list.txt index b6a5e5538..1bb81a321 100644 --- a/tools/cppcheck_suppress_list.txt +++ b/tools/cppcheck_suppress_list.txt @@ -54,4 +54,4 @@ memleak:framework/test/fwk_test.c:145 nullPointerRedundantCheck:framework/src/fwk_io.c // No checking of Rcar product -*:product/rcar +*:product/rcar/* -- GitLab