[PATCH v2] ata: pata_macio: Use WARN instead of BUG

Damien Le Moal dlemoal at kernel.org
Wed Aug 21 15:36:44 AEST 2024


On 8/20/24 12:04 PM, Michael Ellerman wrote:
> 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 at ellerman.id.au>

Applied to for-6.11-fixes. Thanks !

-- 
Damien Le Moal
Western Digital Research



More information about the Linuxppc-dev mailing list