summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorTom Yan <tom.ty89@gmail.com>2016-07-19 20:39:28 (GMT)
committerTejun Heo <tj@kernel.org>2016-07-20 15:19:35 (GMT)
commit737bee9308c457090711684b976e0fe02785a094 (patch)
treef0a825ac86cea5e080250a6689fa43497855a3a5 /Documentation
parent0516900adfa1955f91f1c310f9a2fa857949de1c (diff)
downloadlinux-737bee9308c457090711684b976e0fe02785a094.tar.xz
libata-scsi: better style in ata_msense_*()
`changeable` is the "version" of mode page requested by the user. It will be less confusing/misleading if we do not check it "together" with the setting bits of the drive. Not to mention that we currently have ata_mselect_*() implemented in a way that each of them will serve exclusively a particular bit on each page. The old style will hence make the condition look even more unnecessarily arcane if the ata_msense_*() is reflecting more than one bit. Signed-off-by: Tom Yan <tom.ty89@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions