diff options
| author | Michael Ellerman <[email protected]> | 2024-08-20 03:04:07 +0000 |
|---|---|---|
| committer | Damien Le Moal <[email protected]> | 2024-08-21 05:33:23 +0000 |
| commit | d4bc0a264fb482b019c84fbc7202dd3cab059087 (patch) | |
| tree | 552fd2b6ec7f2d352e9c152f49631c738498ce7b /drivers/platform/surface/aggregator/controller.c | |
| parent | ata: pata_macio: Fix DMA table overflow (diff) | |
| download | kernel-d4bc0a264fb482b019c84fbc7202dd3cab059087.tar.gz kernel-d4bc0a264fb482b019c84fbc7202dd3cab059087.zip | |
ata: pata_macio: Use WARN instead of BUG
The overflow/underflow conditions in pata_macio_qc_prep() should never
happen. But if they do there's no need to kill the system entirely, a
WARN and failing the IO request should be sufficient and might allow the
system to keep running.
Signed-off-by: Michael Ellerman <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions
