Arnd Bergmann
48be6f9d2f
wan: ixp4xx_hss: fix compile-testing on 64-bit
...
[ Upstream commit 504c28c853ec5c626900b914b5833daf0581a344 ]
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:36:46 +01:00
..
2019-09-11 15:11:59 +01:00
2019-05-30 11:29:53 -07:00
2019-05-24 17:36:45 +02:00
2019-05-24 17:36:45 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-02-24 08:36:33 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:29:53 -07:00
2019-05-30 11:29:53 -07:00
2019-05-30 11:26:32 -07:00
2019-06-07 11:00:14 -07:00
2019-05-30 11:29:53 -07:00
2019-05-30 11:29:53 -07:00
2019-05-30 11:29:53 -07:00
2019-05-30 11:29:53 -07:00
2020-02-24 08:36:29 +01:00
2019-05-30 11:29:53 -07:00
2019-05-21 10:50:45 +02:00
2020-02-24 08:36:46 +01:00
2019-09-16 09:14:41 +02:00
2019-05-24 17:27:12 +02:00
2019-09-16 09:14:41 +02:00
2019-05-30 11:29:53 -07:00
2019-05-30 11:29:53 -07:00
2019-05-30 11:29:53 -07:00
2019-02-25 14:36:15 -08:00
2020-02-01 09:34:45 +00:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:29:53 -07:00
2019-05-30 11:29:53 -07:00
2019-05-30 11:29:53 -07:00
2019-06-16 14:26:14 -07:00
2019-05-30 11:26:32 -07:00