diff options
author | Tzung-Bi Shih <[email protected]> | 2020-11-16 16:25:37 +0800 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2020-11-20 21:45:10 -0600 |
commit | 903635cbc75763a5ce78db60934494dd51a66778 (patch) | |
tree | 257db9b462a41cb318aeff7f630b22e3fa7716e6 /net/switchdev/switchdev.c | |
parent | 778f2664fa34634001c51f46bc64c6e9ef91611a (diff) |
remoteproc/mediatek: fix sparse errors on dma_alloc and dma_free
Fixes the following sparse errors on dma_alloc_coherent() and
dma_free_coherent().
On drivers/remoteproc/mtk_scp.c:559:23:
warning: incorrect type in assignment (different address spaces)
expected void [noderef] __iomem *cpu_addr
got void *
On drivers/remoteproc/mtk_scp.c:572:56:
warning: incorrect type in argument 3 (different address spaces)
expected void *cpu_addr
got void [noderef] __iomem *cpu_addr
The cpu_addr is not a __iomem address. Removes the marker.
Reviewed-by: Nicolas Boichat <[email protected]>
Reviewed-by: Mathieu Poirier <[email protected]>
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Tzung-Bi Shih <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions