diff options
author | 2024-08-20 13:04:07 +1000 | |
---|---|---|
committer | 2024-08-21 14:33:23 +0900 | |
commit | d4bc0a264fb482b019c84fbc7202dd3cab059087 (patch) | |
tree | 552fd2b6ec7f2d352e9c152f49631c738498ce7b /scripts/lib/kdoc/kdoc_re.py | |
parent | ata: pata_macio: Fix DMA table overflow (diff) | |
download | wireguard-linux-d4bc0a264fb482b019c84fbc7202dd3cab059087.tar.xz wireguard-linux-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 <mpe@ellerman.id.au>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions