bmips: check for DMA error when refilling Rx
authorSieng-Piaw Liew <liew.s.piaw@gmail.com>
Tue, 19 Jul 2022 00:20:45 +0000 (08:20 +0800)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Sat, 4 Mar 2023 18:28:16 +0000 (19:28 +0100)
commit65ebe311304a32423a46bf4efe62f29cda06acab
treed188c5b99064e38668ce8cb18289a3124a334432
parenta6a54135ef7dca13a3f042afe83a99ce0218622c
bmips: check for DMA error when refilling Rx

dma_mapping_error() should be called as dma_map_single() could fail and
return error.

Signed-off-by: Sieng-Piaw Liew <liew.s.piaw@gmail.com>
target/linux/bmips/files/drivers/net/ethernet/broadcom/bcm6368-enetsw.c