diff options
| author | Damien Le Moal <[email protected]> | 2021-11-15 03:47:26 +0000 |
|---|---|---|
| committer | Damien Le Moal <[email protected]> | 2021-11-18 05:34:19 +0000 |
| commit | 06f6c4c6c3e8354dceddd77bd58f9a7a84c67246 (patch) | |
| tree | fbf304aef210d612a739dd283a5164c6c516a055 /net/unix/af_unix.c | |
| parent | ata: libata: improve ata_read_log_page() error message (diff) | |
| download | kernel-06f6c4c6c3e8354dceddd77bd58f9a7a84c67246.tar.gz kernel-06f6c4c6c3e8354dceddd77bd58f9a7a84c67246.zip | |
ata: libata: add missing ata_identify_page_supported() calls
ata_dev_config_ncq_prio() and ata_dev_config_devslp() both access pages
of the IDENTIFY DEVICE data log. Before calling ata_read_log_page(),
make sure to check for the existence of the IDENTIFY DEVICE data log and
of the log page accessed using ata_identify_page_supported(). This
avoids useless error messages from ata_read_log_page() and failures with
some LLDD scsi drivers using libsas.
Reported-by: Nikolay <[email protected]>
Cc: [email protected] # 5.15
Signed-off-by: Damien Le Moal <[email protected]>
Tested-by: Matthew Perkowski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
