Home
last modified time | relevance | path

Searched hist:b777131d03be76594849da084a14853f72cf0e37 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/ata/
H A Dpata_macio.cdiff b777131d03be76594849da084a14853f72cf0e37 Mon Aug 19 22:04:07 CDT 2024 Michael Ellerman <mpe@ellerman.id.au> ata: pata_macio: Use WARN instead of BUG

[ Upstream commit d4bc0a264fb482b019c84fbc7202dd3cab059087 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>