[dpdk-test-report] |WARNING| pw18239 [PATCH 12/13] ethdev: change pci_dev to generic device

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Dec 19 23:01:18 CET 2016


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

_coding style issues_


CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'dev' may be better as '(dev)' to avoid precedence issues
#277: FILE: drivers/net/fm10k/fm10k_ethdev.c:133:
+#define FM10K_DEV_TO_PCI(dev)	\
+	container_of(dev->device, struct rte_pci_device, device)

total: 0 errors, 0 warnings, 620 lines checked


More information about the test-report mailing list