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 und
This changes the driver to handle the PCI resource directly instead
of repeatedly going through eth_dev.
Signed-off-by: Jan Blunck
---
drivers/net/szedata2/rte_eth_szedata2.c | 72 -
drivers/net/szedata2/rte_eth_szedata2.h | 58 +++---
2 files
2 matches
Mail list logo