[dpdk-test-report] |WARNING| pw98518 [PATCH v6 08/10] app/dumpcap: add new packet capture application

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Sep 10 01:35:42 CEST 2021


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

_coding style issues_


WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#606: FILE: app/dumpcap/main.c:505:
+	const char *args[] = {

WARNING:TYPO_SPELLING: 'CREAT' may be misspelled - perhaps 'CREATE'?
#714: FILE: app/dumpcap/main.c:613:
+		fd = open(output_name, O_WRONLY | O_CREAT, mode);

WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#734: FILE: app/dumpcap/main.c:633:
+		return pcapng;
+	} else {

total: 0 errors, 3 warnings, 850 lines checked


More information about the test-report mailing list