[dpdk-test-report] |WARNING| pw62853 [RFC] use Gcc/Clang fallthrough attribute

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Nov 11 20:29:40 CET 2019


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/62853

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#955: FILE: lib/librte_eal/common/include/rte_common.h:89:
+#define __rte_fallthrough __attribute__ ((fallthrough))

ERROR:TRAILING_WHITESPACE: trailing whitespace
#956: FILE: lib/librte_eal/common/include/rte_common.h:90:
+^I$

ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#967: FILE: lib/librte_eal/common/include/rte_common.h:749:
+	case 'G': case 'g': size *= 1024; __rte_fallthrough;

ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#968: FILE: lib/librte_eal/common/include/rte_common.h:750:
+	case 'M': case 'm': size *= 1024; __rte_fallthrough;

ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#969: FILE: lib/librte_eal/common/include/rte_common.h:751:
+	case 'K': case 'k': size *= 1024; __rte_fallthrough;

ERROR:MISSING_SIGN_OFF: Missing Signed-off-by: line(s)

total: 6 errors, 0 warnings, 789 lines checked


More information about the test-report mailing list