[dpdk-test-report] |WARNING| pw30777 [PATCH v2 2/6] ethdev: remove detachable device flag

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 24 12:36:26 CEST 2017


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'pci_dev->id.device_id == PCI_DEVICE_ID_NFP4000_PF_NIC'
#273: FILE: drivers/net/nfp/nfp_net.c:3021:
+	if ((pci_dev->id.device_id == PCI_DEVICE_ID_NFP4000_PF_NIC) ||
+	    (pci_dev->id.device_id == PCI_DEVICE_ID_NFP6000_PF_NIC)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'pci_dev->id.device_id == PCI_DEVICE_ID_NFP6000_PF_NIC'
#273: FILE: drivers/net/nfp/nfp_net.c:3021:
+	if ((pci_dev->id.device_id == PCI_DEVICE_ID_NFP4000_PF_NIC) ||
+	    (pci_dev->id.device_id == PCI_DEVICE_ID_NFP6000_PF_NIC)) {

total: 0 errors, 0 warnings, 237 lines checked


More information about the test-report mailing list