|WARNING| pw135052 [PATCH 4/5] eal: fix first time primary autodetect

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Dec 12 05:27:52 CET 2023


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

_coding style issues_


WARNING:TYPO_SPELLING: 'CREAT' may be misspelled - perhaps 'CREATE'?
#143: FILE: lib/eal/linux/eal.c:363:
+		if (((mem_cfg_fd = open(pathname, O_RDWR | O_CREAT, 0600)) >= 0) &&

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#143: FILE: lib/eal/linux/eal.c:363:
+		if (((mem_cfg_fd = open(pathname, O_RDWR | O_CREAT, 0600)) >= 0) &&

total: 1 errors, 1 warnings, 8 lines checked


More information about the test-report mailing list