diff options
author | Shannon Nelson <snelson@pensando.io> | 2022-01-24 21:52:57 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-25 14:15:08 +0300 |
commit | bc0bf9de6f48268f4ee59e57fb42ac751be3ecda (patch) | |
tree | 27fbd94046db041eb45de6d1eaa0c7af48f78aa3 /drivers/net/ethernet/pensando/ionic/ionic_dev.c | |
parent | ca73b68aca4a242d71a86818789640ca3b53744a (diff) | |
download | linux-bc0bf9de6f48268f4ee59e57fb42ac751be3ecda.tar.xz |
ionic: fix type complaint in ionic_dev_cmd_clean()
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: d701ec326a31 ("ionic: clean up sparse complaints")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/pensando/ionic/ionic_dev.c')
0 files changed, 0 insertions, 0 deletions