aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorSergei Antonov <[email protected]>2022-08-12 17:13:39 +0000
committerJakub Kicinski <[email protected]>2022-08-16 02:54:27 +0000
commit3a12df22a8f68954a4ba48435c06b3d1791c87c4 (patch)
tree4c814e6f26b82ac863d71db6e86593fad3caecd1 /drivers/net/ethernet/intel/ice/ice_lib.c
parentMerge branch 'mlxsw-fixes' (diff)
downloadkernel-3a12df22a8f68954a4ba48435c06b3d1791c87c4.tar.gz
kernel-3a12df22a8f68954a4ba48435c06b3d1791c87c4.zip
net: moxa: pass pdev instead of ndev to DMA functions
dma_map_single() calls fail in moxart_mac_setup_desc_ring() and moxart_mac_start_xmit() which leads to an incessant output of this: [ 16.043925] moxart-ethernet 92000000.mac eth0: DMA mapping error [ 16.050957] moxart-ethernet 92000000.mac eth0: DMA mapping error [ 16.058229] moxart-ethernet 92000000.mac eth0: DMA mapping error Passing pdev to DMA is a common approach among net drivers. Fixes: 6c821bd9edc9 ("net: Add MOXA ART SoCs ethernet driver") Signed-off-by: Sergei Antonov <[email protected]> Suggested-by: Andrew Lunn <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions