[dpdk-test-report] |WARNING| pw50653 [2/4] net/failsafe: change back-reference from sub-device

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Feb 28 16:50:10 CET 2019

Test-Label: checkpatch
Test-Status: WARNING

_coding style issues_

CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'sdev' may be better as '(sdev)' to avoid precedence issues
#149: FILE: drivers/net/failsafe/failsafe_private.h:255:
+#define FSDEV_FROM_SUBDEV(sdev) \
+	(&rte_eth_devices[sdev->fs_port_id])

total: 0 errors, 0 warnings, 1 checks, 116 lines checked

More information about the test-report mailing list