linux-stable/drivers/net/ethernet/toshiba
Geoff Levand bebe933d35 net/ps3_gelic_net: Use dma_mapping_error
The current Gelic Etherenet driver was checking the return value of its
dma_map_single call, and not using the dma_mapping_error() routine.

Fixes runtime problems like these:

  DMA-API: ps3_gelic_driver sb_05: device driver failed to check map error
  WARNING: CPU: 0 PID: 0 at kernel/dma/debug.c:1027 .check_unmap+0x888/0x8dc

Fixes: 02c1889166 ("ps3: gigabit ethernet driver for PS3, take3")
Reviewed-by: Alexander Duyck <alexanderduyck@fb.com>
Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-03-20 10:20:40 +00:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile
ps3_gelic_net.c net/ps3_gelic_net: Use dma_mapping_error 2023-03-20 10:20:40 +00:00
ps3_gelic_net.h net/ps3_gelic_net: Fix RX sk_buff length 2023-03-20 10:20:40 +00:00
ps3_gelic_wireless.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
ps3_gelic_wireless.h
spider_net.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
spider_net.h eth: spider: remove a copy of the NAPI_POLL_WEIGHT define 2022-04-29 11:56:42 +01:00
spider_net_ethtool.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
tc35815.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00