Arnd Bergmann
4b08dd2bd6
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-28 16:36:03 +01:00
..
2020-02-28 16:36:01 +01:00
2020-01-27 14:46:44 +01:00
2020-02-28 16:36:00 +01:00
2020-02-14 16:32:13 -05:00
2020-01-27 14:46:45 +01:00
2020-02-28 16:35:58 +01:00
2020-02-28 16:35:56 +01:00
2020-02-28 16:36:02 +01:00
2020-02-28 16:35:57 +01:00
2020-01-27 14:46:37 +01:00
2020-02-14 16:32:23 -05:00
2020-02-28 16:36:02 +01:00
2020-02-28 16:36:01 +01:00
2020-01-27 14:46:34 +01:00
2020-02-28 16:35:56 +01:00
2020-02-28 16:36:02 +01:00
2020-02-05 14:18:05 +00:00
2020-02-14 16:32:12 -05:00
2020-02-28 16:35:54 +01:00
2020-01-29 15:02:39 +01:00
2020-01-27 14:46:45 +01:00
2020-02-28 16:36:03 +01:00
2020-02-28 16:36:03 +01:00
2020-02-28 16:35:51 +01:00
2020-02-28 16:35:55 +01:00
2020-01-27 14:46:32 +01:00
2020-02-14 16:32:23 -05:00
2020-02-28 16:35:56 +01:00
2020-01-23 08:20:31 +01:00
2020-02-14 16:32:18 -05:00
2020-01-27 14:46:40 +01:00
2020-02-14 16:32:11 -05:00
2020-02-14 16:32:18 -05:00
2020-02-28 16:36:03 +01:00
2020-02-28 16:35:59 +01:00
2020-01-27 14:46:05 +01:00
2020-01-27 14:46:48 +01:00
2020-01-27 14:46:39 +01:00
2020-02-14 16:32:13 -05:00
2020-02-28 16:35:59 +01:00
2020-02-14 16:32:17 -05:00
2020-02-28 16:36:02 +01:00
2020-02-14 16:32:22 -05:00
2020-02-14 16:32:12 -05:00
2020-01-23 08:20:35 +01:00
2020-01-27 14:46:34 +01:00
2020-01-27 14:46:25 +01:00
2020-02-28 16:35:59 +01:00
2020-02-14 16:32:22 -05:00
2020-02-28 16:36:01 +01:00
2020-02-28 16:36:03 +01:00
2020-02-05 14:18:06 +00:00
2020-02-05 14:18:02 +00:00
2020-01-29 15:02:38 +01:00
2020-02-05 14:18:24 +00:00
2020-01-27 14:46:34 +01:00
2020-02-28 16:35:53 +01:00
2020-02-28 16:35:57 +01:00
2020-02-28 16:35:57 +01:00
2020-01-27 14:46:33 +01:00
2020-02-28 16:35:56 +01:00
2020-02-05 14:18:06 +00:00
2020-02-14 16:32:15 -05:00