|WARNING| pw121241 [RFC PATCH] bus/platform: add platform bus
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Dec 22 01:01:56 CET 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/121241
_coding style issues_
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#300: FILE: drivers/bus/platform/platform.c:154:
+ if (!(dp = opendir(PLATFORM_BUS_DEVICES_PATH))) {
ERROR:SPACING: space required after that ',' (ctx:VxB)
#659: FILE: drivers/bus/platform/private.h:37:
+ RTE_FMT("platform bus: " RTE_FMT_HEAD(__VA_ARGS__,) , \
^
ERROR:SPACING: space prohibited before that ',' (ctx:WxE)
#659: FILE: drivers/bus/platform/private.h:37:
+ RTE_FMT("platform bus: " RTE_FMT_HEAD(__VA_ARGS__,) , \
^
ERROR:SPACING: space required after that ',' (ctx:VxB)
#660: FILE: drivers/bus/platform/private.h:38:
+ RTE_FMT_TAIL(__VA_ARGS__,)))
^
total: 4 errors, 0 warnings, 710 lines checked
More information about the test-report
mailing list