summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2023-08-29 11:44:10 +0900
committerDamien Le Moal <dlemoal@kernel.org>2023-10-03 09:39:50 +0900
commit0fecb50891aa8731f39c65ab59c3f5d3cf2ce468 (patch)
treee76977e4e45f2d448b055baf9498f3ece4de5206 /scripts/lib/kdoc
parent7f95731c74d73d07958889a685bbfc13e8d82721 (diff)
ata: libata-eh: Reduce "disable device" message verbosity
There is no point in warning about a device being disabled when we expect it to be, that is, on suspend, shutdown or when detaching the device. Suppress the message "disable device" 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@kernel.org> Reviewed-by: Hannes Reinecke <hare@suse.de> Tested-by: Chia-Lin Kao (AceLan) <acelan.kao@canonical.com> Tested-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/lib/kdoc')
0 files changed, 0 insertions, 0 deletions