]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: cirrus: use u8 for addr to calm down sparse
authorNikita Shubin <nikita.shubin@maquefel.me>
Sun, 22 Sep 2024 06:52:12 +0000 (09:52 +0300)
committerArnd Bergmann <arnd@arndb.de>
Mon, 23 Sep 2024 06:58:37 +0000 (06:58 +0000)
commit878716d40cdd4d7923f4e910fe4f6841ae7686f1
tree98e4b57c2c78e4e729d77e39a42f40899ac50905
parentd7333f9d33772ba93f0144b1e3969866f80fdb9a
net: cirrus: use u8 for addr to calm down sparse

ep93xx_eth.c:805:40: sparse: sparse: incorrect type in argument 2
     (different address spaces)
ep93xx_eth.c:805:40: sparse: expected unsigned char const [usertype] *addr
ep93xx_eth.c:805:40: sparse: got void [noderef] __iomem *

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202409212354.9CiUem7B-lkp@intel.com/
Fixes: 858555bb5598 ("net: cirrus: add DT support for Cirrus EP93xx")
Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/net/ethernet/cirrus/ep93xx_eth.c