]> git.baikalelectronics.ru Git - kernel.git/commit
ata: libata: improve ata_read_log_page() error message
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Mon, 15 Nov 2021 03:37:46 +0000 (12:37 +0900)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tue, 16 Nov 2021 23:56:40 +0000 (08:56 +0900)
commit0dbe6b92fdabb55d527f4e9241af22e4eb3ade79
treed9ed986615fd78d15a54196737b7e23e692a4282
parentbad68f6c0c96b209be688acd1511fc590315093b
ata: libata: improve ata_read_log_page() error message

If ata_read_log_page() fails to read a log page, the ata_dev_err() error
message only print the page number, omitting the log number. In case of
error, facilitate debugging by also printing the log number.

Cc: stable@kernel.org # 5.15
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Tested-by: Matthew Perkowski <mgperkow@gmail.com>
drivers/ata/libata-core.c