[dpdk-test-report] |WARNING| pw27755 [PATCH 2/4] test: meter autotest update

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Aug 25 12:26:36 CEST 2017


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

_coding style issues_


ERROR:SPACING: space required before the open parenthesis '('
#33: FILE: test/test/test_meter.c:89:
+	if(rte_meter_srtcm_profile_config(NULL, NULL) == 0)

ERROR:SPACING: space required before the open parenthesis '('
#36: FILE: test/test/test_meter.c:91:
+	if(rte_meter_srtcm_profile_config(&sp, NULL) == 0)

ERROR:SPACING: space required before the open parenthesis '('
#39: FILE: test/test/test_meter.c:93:
+	if(rte_meter_srtcm_profile_config(NULL, &sparams) == 0)

ERROR:SPACING: space required before the open parenthesis '('
#47: FILE: test/test/test_meter.c:100:
+	if(rte_meter_srtcm_profile_config(&sp, &sparams1) == 0)

ERROR:SPACING: space required before the open parenthesis '('
#54: FILE: test/test/test_meter.c:106:
+	if(rte_meter_srtcm_profile_config(&sp, &sparams1) == 0)

ERROR:SPACING: space required before the open parenthesis '('
#61: FILE: test/test/test_meter.c:112:
+	if(rte_meter_srtcm_profile_config(&sp, &sparams1) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#67: FILE: test/test/test_meter.c:117:
+	if(rte_meter_srtcm_profile_config(&sp, &sparams1) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#72: FILE: test/test/test_meter.c:121:
+	if(rte_meter_srtcm_profile_config(&sp, &sparams) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#87: FILE: test/test/test_meter.c:139:
+	if(rte_meter_trtcm_profile_config(NULL, NULL) == 0)

ERROR:SPACING: space required before the open parenthesis '('
#90: FILE: test/test/test_meter.c:141:
+	if(rte_meter_trtcm_profile_config(&tp, NULL) == 0)

ERROR:SPACING: space required before the open parenthesis '('
#93: FILE: test/test/test_meter.c:143:
+	if(rte_meter_trtcm_profile_config(NULL, &tparams) == 0)

ERROR:SPACING: space required before the open parenthesis '('
#100: FILE: test/test/test_meter.c:149:
+	if(rte_meter_trtcm_profile_config(&tp, &tparams1) == 0)

ERROR:SPACING: space required before the open parenthesis '('
#106: FILE: test/test/test_meter.c:154:
+	if(rte_meter_trtcm_profile_config(&tp, &tparams1) == 0)

ERROR:SPACING: space required before the open parenthesis '('
#112: FILE: test/test/test_meter.c:159:
+	if(rte_meter_trtcm_profile_config(&tp, &tparams1) == 0)

ERROR:SPACING: space required before the open parenthesis '('
#118: FILE: test/test/test_meter.c:164:
+	if(rte_meter_trtcm_profile_config(&tp, &tparams1) == 0)

ERROR:SPACING: space required before the open parenthesis '('
#125: FILE: test/test/test_meter.c:170:
+	if(rte_meter_trtcm_profile_config(&tp, &tparams1) == 0)

ERROR:SPACING: space required before the open parenthesis '('
#130: FILE: test/test/test_meter.c:174:
+	if(rte_meter_trtcm_profile_config(&tp, &tparams) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#145: FILE: test/test/test_meter.c:193:
+	if(rte_meter_srtcm_profile_config(&sp, &sparams) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#147: FILE: test/test/test_meter.c:195:
+	if(rte_meter_srtcm_config(&sm, &sp) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#158: FILE: test/test/test_meter.c:204:
+	if(rte_meter_srtcm_profile_config(&sp, &sparams) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#160: FILE: test/test/test_meter.c:206:
+	if(rte_meter_srtcm_config(&sm, &sp) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#170: FILE: test/test/test_meter.c:214:
+	if(rte_meter_srtcm_profile_config(&sp, &sparams) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#172: FILE: test/test/test_meter.c:216:
+	if(rte_meter_srtcm_config(&sm, &sp) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#182: FILE: test/test/test_meter.c:224:
+	if(rte_meter_srtcm_profile_config(&sp, &sparams) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#184: FILE: test/test/test_meter.c:226:
+	if(rte_meter_srtcm_config(&sm, &sp) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#203: FILE: test/test/test_meter.c:252:
+	if(rte_meter_trtcm_profile_config(&tp, &tparams) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#205: FILE: test/test/test_meter.c:254:
+	if(rte_meter_trtcm_config(&tm, &tp) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#216: FILE: test/test/test_meter.c:263:
+	if(rte_meter_trtcm_profile_config(&tp, &tparams) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#218: FILE: test/test/test_meter.c:265:
+	if(rte_meter_trtcm_config(&tm, &tp) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#228: FILE: test/test/test_meter.c:273:
+	if(rte_meter_trtcm_profile_config(&tp, &tparams) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#230: FILE: test/test/test_meter.c:275:
+	if(rte_meter_trtcm_config(&tm, &tp) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#241: FILE: test/test/test_meter.c:284:
+	if(rte_meter_trtcm_profile_config(&tp, &tparams) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#243: FILE: test/test/test_meter.c:286:
+	if(rte_meter_trtcm_config(&tm, &tp) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#262: FILE: test/test/test_meter.c:317:
+	if(rte_meter_srtcm_profile_config(&sp, &sparams) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#264: FILE: test/test/test_meter.c:319:
+	if(rte_meter_srtcm_config(&sm, &sp) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#273: FILE: test/test/test_meter.c:326:
+	if(rte_meter_srtcm_profile_config(&sp, &sparams) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#275: FILE: test/test/test_meter.c:328:
+	if(rte_meter_srtcm_config(&sm, &sp) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#284: FILE: test/test/test_meter.c:335:
+	if(rte_meter_srtcm_profile_config(&sp, &sparams) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#286: FILE: test/test/test_meter.c:337:
+	if(rte_meter_srtcm_config(&sm, &sp) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#295: FILE: test/test/test_meter.c:344:
+	if(rte_meter_srtcm_profile_config(&sp, &sparams) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#297: FILE: test/test/test_meter.c:346:
+	if(rte_meter_srtcm_config(&sm, &sp) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#316: FILE: test/test/test_meter.c:424:
+	if(rte_meter_trtcm_profile_config(&tp, &tparams) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#318: FILE: test/test/test_meter.c:426:
+	if(rte_meter_trtcm_config(&tm, &tp) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#327: FILE: test/test/test_meter.c:433:
+	if(rte_meter_trtcm_profile_config(&tp, &tparams) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#329: FILE: test/test/test_meter.c:435:
+	if(rte_meter_trtcm_config(&tm, &tp) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#338: FILE: test/test/test_meter.c:442:
+	if(rte_meter_trtcm_profile_config(&tp, &tparams) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#340: FILE: test/test/test_meter.c:444:
+	if(rte_meter_trtcm_config(&tm, &tp) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#349: FILE: test/test/test_meter.c:451:
+	if(rte_meter_trtcm_profile_config(&tp, &tparams) != 0)

ERROR:SPACING: space required before the open parenthesis '('
#351: FILE: test/test/test_meter.c:453:
+	if(rte_meter_trtcm_config(&tm, &tp) != 0)

total: 49 errors, 0 warnings, 331 lines checked


More information about the test-report mailing list