[ Upstream commit bc0bf9de6f48268f4ee59e57fb42ac751be3ecda ]
Sparse seems to have gotten a little more picky lately and
we need to revisit this bit of code to make sparse happy.
warning: incorrect type in initializer (different address spaces)
expected union ionic_dev_cmd_regs *regs
got union ionic_dev_cmd_regs [noderef] __iomem *dev_cmd_regs
warning: incorrect type in argument 2 (different address spaces)
expected void [noderef] __iomem *
got unsigned int *
warning: incorrect type in argument 1 (different address spaces)
expected void volatile [noderef] __iomem *
got union ionic_dev_cmd *
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| ionic.h | ||
| ionic_bus.h | ||
| ionic_bus_pci.c | ||
| ionic_debugfs.c | ||
| ionic_debugfs.h | ||
| ionic_dev.c | ||
| ionic_dev.h | ||
| ionic_devlink.c | ||
| ionic_devlink.h | ||
| ionic_ethtool.c | ||
| ionic_ethtool.h | ||
| ionic_fw.c | ||
| ionic_if.h | ||
| ionic_lif.c | ||
| ionic_lif.h | ||
| ionic_main.c | ||
| ionic_regs.h | ||
| ionic_rx_filter.c | ||
| ionic_rx_filter.h | ||
| ionic_stats.c | ||
| ionic_stats.h | ||
| ionic_txrx.c | ||
| ionic_txrx.h | ||