automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw138993 [PATCH v19 13/15] log: add optional support of syslog
       [not found] <20240330030429.4630-14-stephen@networkplumber.org>
@ 2024-03-30  3:08 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2024-03-30  3:08 UTC (permalink / raw)
  To: test-report; +Cc: Stephen Hemminger

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

_coding style issues_


WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#114: FILE: app/test/test_eal_flags.c:990:
+	const char *argv4[] = {prgname, prefix, mp_flag, "--syslog=both"};

WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#117: FILE: app/test/test_eal_flags.c:992:
+	const char *argv5[] = {prgname, prefix, mp_flag, "--syslog=invalid"};

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 8)
#263: FILE: lib/log/log.c:520:
+	else
[...]
 	if (log_timestamp_enabled())

WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#291: FILE: lib/log/log_stubs.c:5:
+#include <stdio.h>

WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#323: FILE: lib/log/log_syslog.c:3:
+#include <stdio.h>

total: 0 errors, 5 warnings, 243 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-30  3:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20240330030429.4630-14-stephen@networkplumber.org>
2024-03-30  3:08 ` |WARNING| pw138993 [PATCH v19 13/15] log: add optional support of syslog checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).