[dpdk-dev] [PATCH v2 05/16] Moved interrupt type out of igb_uio

Thomas Monjalon thomas.monjalon at 6wind.com
Wed May 21 15:46:54 CEST 2014


Few more comments from checkpatch.pl on this patch:

ERROR: else should follow close brace '}'
#252: FILE: lib/librte_eal/linuxapp/igb_uio/igb_uio.c:225:
 	}
+	else if (udev->mode == RTE_INTR_MODE_LEGACY) {

WARNING: suspect code indent for conditional statements (8, 8)
#316: FILE: lib/librte_eal/linuxapp/igb_uio/igb_uio.c:590:
 	if (((struct rte_uio_pci_dev *)info->priv)->mode ==
[...]
+	pci_disable_msix(dev);

-- 
Thomas


More information about the dev mailing list