]> Git Repo - linux.git/commit
ata: pata_macio: Use WARN instead of BUG
authorMichael Ellerman <[email protected]>
Tue, 20 Aug 2024 03:04:07 +0000 (13:04 +1000)
committerDamien Le Moal <[email protected]>
Wed, 21 Aug 2024 05:33:23 +0000 (14:33 +0900)
commitd4bc0a264fb482b019c84fbc7202dd3cab059087
tree552fd2b6ec7f2d352e9c152f49631c738498ce7b
parent822c8020aebcf5804a143b891e34f29873fee5e2
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]>
drivers/ata/pata_macio.c
This page took 0.053383 seconds and 4 git commands to generate.