[dpdk-test-report] |WARNING| pw44483 [15/37] net/sfc/base: add generated description of sensors

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Sep 10 11:35:10 CEST 2018


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

_coding style issues_


CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#39: FILE: drivers/net/sfc/base/efx.h:795:
+efx_mon_stat_description(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#71: FILE: drivers/net/sfc/base/efx_mon.c:189:
+efx_mon_stat_name(

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#79: FILE: drivers/net/sfc/base/efx_mon.c:197:
+	return (__mon_stat_name[id]);

WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const
#88: FILE: drivers/net/sfc/base/efx_mon.c:206:
+static const char *__mon_stat_description[] = {

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#174: FILE: drivers/net/sfc/base/efx_mon.c:292:
+efx_mon_stat_description(

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#182: FILE: drivers/net/sfc/base/efx_mon.c:300:
+	return (__mon_stat_description[id]);

total: 2 errors, 1 warnings, 3 checks, 268 lines checked


More information about the test-report mailing list