aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/socket.c
diff options
context:
space:
mode:
authorJiangfeng Xiao <[email protected]>2019-08-03 12:31:41 +0000
committerDavid S. Miller <[email protected]>2019-08-06 21:14:01 +0000
commit96a50c0d907ac8f5c3d6b051031a19eb8a2b53e3 (patch)
tree21714b958e1c9786895f5dc70821c45997efb467 /net/tipc/socket.c
parentnet: hisilicon: fix hip04-xmit never return TX_BUSY (diff)
downloadkernel-96a50c0d907ac8f5c3d6b051031a19eb8a2b53e3.tar.gz
kernel-96a50c0d907ac8f5c3d6b051031a19eb8a2b53e3.zip
net: hisilicon: Fix dma_map_single failed on arm64
On the arm64 platform, executing "ifconfig eth0 up" will fail, returning "ifconfig: SIOCSIFFLAGS: Input/output error." ndev->dev is not initialized, dma_map_single->get_dma_ops-> dummy_dma_ops->__dummy_map_page will return DMA_ERROR_CODE directly, so when we use dma_map_single, the first parameter is to use the device of platform_device. Signed-off-by: Jiangfeng Xiao <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions