On 05/06/2023 11:52, Damien Le Moal wrote:
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<dlemoal@xxxxxxxxxx> Reviewed-by: Hannes Reinecke<hare@xxxxxxx> ---
Reviewed-by: John Garry <john.g.garry@xxxxxxxxxx>