diff options
author | Damien Le Moal <[email protected]> | 2023-08-29 11:44:10 +0900 |
---|---|---|
committer | Damien Le Moal <[email protected]> | 2023-10-03 09:39:50 +0900 |
commit | 0fecb50891aa8731f39c65ab59c3f5d3cf2ce468 (patch) | |
tree | e76977e4e45f2d448b055baf9498f3ece4de5206 /scripts/gdb/linux/slab.py | |
parent | 7f95731c74d73d07958889a685bbfc13e8d82721 (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 <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Tested-by: Chia-Lin Kao (AceLan) <[email protected]>
Tested-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/slab.py')
0 files changed, 0 insertions, 0 deletions