diff options
author | Jiangfeng Xiao <xiaojiangfeng@huawei.com> | 2019-08-03 15:31:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-07 00:14:01 +0300 |
commit | 96a50c0d907ac8f5c3d6b051031a19eb8a2b53e3 (patch) | |
tree | 21714b958e1c9786895f5dc70821c45997efb467 /include/net/tc_act | |
parent | f2243b82785942be519016067ee6c55a063bbfe2 (diff) | |
download | linux-96a50c0d907ac8f5c3d6b051031a19eb8a2b53e3.tar.xz |
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 <xiaojiangfeng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tc_act')
0 files changed, 0 insertions, 0 deletions