diff options
| author | Russell King (Oracle) <[email protected]> | 2025-02-20 12:47:49 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-22 00:29:05 +0000 |
| commit | 3e401818c81bb9f8438d1c2a803471f441981329 (patch) | |
| tree | 3aa89c4e03a6ad74d9947bed7a3091b25c16f7bb /arch/s390/lib/test_modules_helpers.c | |
| parent | selftests: fib_nexthops: do not mark skipped tests as failed (diff) | |
| download | kernel-3e401818c81bb9f8438d1c2a803471f441981329.tar.gz kernel-3e401818c81bb9f8438d1c2a803471f441981329.zip | |
net: stmmac: print stmmac_init_dma_engine() errors using netdev_err()
stmmac_init_dma_engine() uses dev_err() which leads to errors being
reported as e.g:
dwc-eth-dwmac 2490000.ethernet: Failed to reset the dma
dwc-eth-dwmac 2490000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
stmmac_init_dma_engine() is only called from stmmac_hw_setup() which
itself uses netdev_err(), and we will have a net_device setup. So,
change the dev_err() to netdev_err() to give consistent error
messages.
Signed-off-by: Russell King (Oracle) <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'arch/s390/lib/test_modules_helpers.c')
0 files changed, 0 insertions, 0 deletions
