summaryrefslogtreecommitdiff
path: root/net/rds
diff options
context:
space:
mode:
authorNiklas Cassel <niklas.cassel@wdc.com>2022-09-16 14:28:34 +0200
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-09-21 11:18:26 +0900
commita5fb6bf853148974dbde092ec1bde553bea5e49f (patch)
tree85fbaa8632073f566bd85740170e281037ab1e61 /net/rds
parent9c6e09a434e1317e09b78b3b69cd384022ec9a03 (diff)
ata: fix ata_id_has_ncq_autosense()
ACS-5 section 7.13.6.36 Word 78: Serial ATA features supported states that: If word 76 is not 0000h or FFFFh, word 78 reports the features supported by the device. If this word is not supported, the word shall be cleared to zero. (This text also exists in really old ACS standards, e.g. ACS-3.) Additionally, move the macro to the other ATA_ID_FEATURE_SUPP macros (which already have this check), thus making it more likely that the next ATA_ID_FEATURE_SUPP macro that is added will include this check. Fixes: 5b01e4b9efa0 ("libata: Implement NCQ autosense") Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions