Re: [dpdk-dev] [PATCH v1 11/13] bus/pci: process declarative PCI devargs

2018-08-30 Thread Gaƫtan Rivet
On Thu, Aug 30, 2018 at 09:15:18AM -0700, Stephen Hemminger wrote: > On Thu, 30 Aug 2018 15:42:02 +0200 > Gaetan Rivet wrote: > > > +int > > +rte_pci_devargs_process(struct rte_pci_device *pdev) > > +{ > > + /* For the moment, no PCI param > > +* needs to be processed. > > +*/ > > + (

Re: [dpdk-dev] [PATCH v1 11/13] bus/pci: process declarative PCI devargs

2018-08-30 Thread Stephen Hemminger
On Thu, 30 Aug 2018 15:42:02 +0200 Gaetan Rivet wrote: > +int > +rte_pci_devargs_process(struct rte_pci_device *pdev) > +{ > + /* For the moment, no PCI param > + * needs to be processed. > + */ > + (void) pdev; > + return 0; > +} Use __rte_unused rather than the (void) cas