diff options
author | Damien Le Moal <[email protected]> | 2023-06-05 08:27:14 +0900 |
---|---|---|
committer | Damien Le Moal <[email protected]> | 2023-06-05 22:03:28 +0900 |
commit | 43cff7d94370c35ad7d96c9764b3b12f7735e6cc (patch) | |
tree | 021727c78ead284df41d54b1b48212054482bb29 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 12980c1f2f8a926dd634e27c700014b3246a99ec (diff) |
ata: libata-scsi: Use ata_ncq_supported in ata_scsi_dev_config()
In ata_scsi_dev_config(), instead of hard-coding the test to check if
an ATA device supports NCQ by looking at the ATA_DFLAG_NCQ flag, use
ata_ncq_supported().
Signed-off-by: Damien Le Moal <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: John Garry <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions