Arnd Bergmann
ab32de6917
wan: ixp4xx_hss: fix compile-testing on 64-bit
[ Upstream commit 504c28c853 ]
Change the driver to use portable integer types to avoid
warnings during compile testing:
drivers/net/wan/ixp4xx_hss.c:863:21: error: cast to 'u32 *' (aka 'unsigned int *') from smaller integer type 'int' [-Werror,-Wint-to-pointer-cast]
memcpy_swab32(mem, (u32 *)((int)skb->data & ~3), bytes / 4);
^
drivers/net/wan/ixp4xx_hss.c:979:12: error: incompatible pointer types passing 'u32 *' (aka 'unsigned int *') to parameter of type 'dma_addr_t *' (aka 'unsigned long long *') [-Werror,-Wincompatible-pointer-types]
&port->desc_tab_phys)))
^~~~~~~~~~~~~~~~~~~~
include/linux/dmapool.h:27:20: note: passing argument to parameter 'handle' here
dma_addr_t *handle);
^
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:34:46 +01:00
..
2020-02-11 04:34:14 -08:00
2020-01-29 16:43:14 +01:00
2020-02-11 04:34:16 -08:00
2020-02-24 08:34:45 +01:00
2020-01-27 14:51:21 +01:00
2020-02-11 04:34:13 -08:00
2020-01-29 16:43:14 +01:00
2020-02-05 14:43:51 +00:00
2020-02-24 08:34:46 +01:00
2020-02-24 08:34:43 +01:00
2020-02-11 04:33:52 -08:00
2020-01-29 16:43:17 +01:00