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

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Mar 7 08:03:01 CET 2024


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

_coding style issues_


WARNING:TYPO_SPELLING: 'CREAT' may be misspelled - perhaps 'CREATE'?
#142: 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
#142: 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