Arnd Bergmann
54630b1c8f
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-28 15:42:31 +01:00 |
| .. |
|
lmc
|
drivers: net: lmc: fix case value for target abort error
|
2018-09-05 09:20:03 +02:00 |
|
.gitignore
|
|
|
|
c101.c
|
|
|
|
cosa.c
|
|
|
|
cosa.h
|
|
|
|
dlci.c
|
|
|
|
dscc4.c
|
|
|
|
farsync.c
|
|
|
|
farsync.h
|
|
|
|
fsl_ucc_hdlc.c
|
net/wan/fsl_ucc_hdlc: reject muram offsets above 64K
|
2020-02-28 15:42:23 +01:00 |
|
fsl_ucc_hdlc.h
|
|
|
|
hd64570.c
|
|
|
|
hd64570.h
|
|
|
|
hd64572.c
|
|
|
|
hd64572.h
|
|
|
|
hdlc.c
|
|
|
|
hdlc_cisco.c
|
|
|
|
hdlc_fr.c
|
|
|
|
hdlc_ppp.c
|
|
|
|
hdlc_raw.c
|
|
|
|
hdlc_raw_eth.c
|
|
|
|
hdlc_x25.c
|
|
|
|
hostess_sv11.c
|
|
|
|
ixp4xx_hss.c
|
wan: ixp4xx_hss: fix compile-testing on 64-bit
|
2020-02-28 15:42:31 +01:00 |
|
Kconfig
|
|
|
|
lapbether.c
|
|
|
|
Makefile
|
|
|
|
n2.c
|
|
|
|
pc300too.c
|
|
|
|
pci200syn.c
|
|
|
|
sbni.c
|
|
|
|
sbni.h
|
|
|
|
sdla.c
|
net: wan: sdla: Fix cast from pointer to integer of different size
|
2020-02-05 13:05:41 +00:00 |
|
sealevel.c
|
|
|
|
slic_ds26522.c
|
|
|
|
slic_ds26522.h
|
|
|
|
wanxl.c
|
|
|
|
wanxl.h
|
|
|
|
wanxlfw.inc_shipped
|
|
|
|
wanxlfw.S
|
|
|
|
x25_asy.c
|
net/wan: fix a double free in x25_asy_open_tty()
|
2019-01-09 16:16:40 +01:00 |
|
x25_asy.h
|
|
|
|
z85230.c
|
|
|
|
z85230.h
|
|
|