[dpdk-test-report] |WARNING| pw40546 [PATCH RFC 02/10] eal: make --no-shconf an alias for --no-shared-files

checkpatch at dpdk.org checkpatch at dpdk.org
Thu May 31 16:33:20 CEST 2018


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

_coding style issues_


ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#174: FILE: test/test/test_eal_flags.c:373:
+	const char * prefix = no_shared_files;

WARNING:LONG_LINE: line over 90 characters
#183: FILE: test/test/test_eal_flags.c:665:
+	const char *argv1[] = { prgname, prefix, no_huge, no_shared_files, "-c", "1", "-n"};

WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#183: FILE: test/test/test_eal_flags.c:665:
+	const char *argv1[] = { prgname, prefix, no_huge, no_shared_files, "-c", "1", "-n"};

WARNING:LONG_LINE: line over 90 characters
#186: FILE: test/test/test_eal_flags.c:667:
+	const char *argv2[] = { prgname, prefix, no_huge, no_shared_files, "-c", "1", "-n", "e" };

WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#186: FILE: test/test/test_eal_flags.c:667:
+	const char *argv2[] = { prgname, prefix, no_huge, no_shared_files, "-c", "1", "-n", "e" };

WARNING:LONG_LINE: line over 90 characters
#189: FILE: test/test/test_eal_flags.c:669:
+	const char *argv3[] = { prgname, prefix, no_huge, no_shared_files, "-c", "1", "-n", "0" };

WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#189: FILE: test/test/test_eal_flags.c:669:
+	const char *argv3[] = { prgname, prefix, no_huge, no_shared_files, "-c", "1", "-n", "0" };

WARNING:LONG_LINE: line over 90 characters
#192: FILE: test/test/test_eal_flags.c:671:
+	const char *argv4[] = { prgname, prefix, no_huge, no_shared_files, "-c", "1", "-n", "2" };

WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#192: FILE: test/test/test_eal_flags.c:671:
+	const char *argv4[] = { prgname, prefix, no_huge, no_shared_files, "-c", "1", "-n", "2" };

WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#195: FILE: test/test/test_eal_flags.c:673:
+	const char *argv5[] = { prgname, prefix, no_huge, no_shared_files, "-c", "1"};

ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#204: FILE: test/test/test_eal_flags.c:737:
+	const char * prefix = no_shared_files;

total: 2 errors, 9 warnings, 142 lines checked


More information about the test-report mailing list