summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-07-14 09:05:42 +0900
committerTejun Heo <tj@kernel.org>2016-07-14 10:44:51 -0400
commitb1c04e80c6da5f5d3d4778ede23c59666135fdeb (patch)
treefcd51c4ed47d0c428da9c0dcb7e27341fc2fafd3 /drivers/ata/libata-core.c
parent2983860c766870b701c4a34f435c1e18db086244 (diff)
downloadlinux-0-day-b1c04e80c6da5f5d3d4778ede23c59666135fdeb.tar.gz
linux-0-day-b1c04e80c6da5f5d3d4778ede23c59666135fdeb.tar.xz
libata: return boolean values from ata_is_*
This way we don't have to worry about the exact bit postition of the test to leak out and any crazy propagation effects in the callers. Suggested-by: Tejun Heo <tj@kernel.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/libata-core.c')
0 files changed, 0 insertions, 0 deletions