[dpdk-dev] [PATCH v5 15/20] szedata2: localize handling of pci resources
Thomas Monjalon
thomas.monjalon at 6wind.com
Fri Dec 23 19:31:44 CET 2016
2016-12-23 16:58, Jan Blunck:
> #define SZEDATA2_PCI_RESOURCE_PTR(dev, offset, type) \
> - ((type)((uint8_t *) \
> - ((dev)->pci_dev->mem_resource[PCI_RESOURCE_NUMBER].addr) \
> - + (offset)))
> + ((type)((uint8_t *)(rsc)->addr) + (offset)))
There is this error: use of undeclared identifier 'rsc'
Should we rename dev to rsc?
More information about the dev
mailing list