On Mon, Sep 11, 2023 at 01:02:16PM +0900, Damien Le Moal wrote: > There is no point in warning about a device being diabled when we expect > it to be, that is, on suspend, shutdown or when detaching a device. > Suppress this message for these cases by introducing the EH static > function ata_eh_dev_disable() and by using it in ata_eh_unload() and > ata_eh_detach_dev(). ata_dev_disable() code is modified to call this new > function after printing the "disable device" message. > > Signed-off-by: Damien Le Moal <dlemoal@xxxxxxxxxx> Tested-by: Chia-Lin Kao (AceLan) <acelan.kao@xxxxxxxxxxxxx>