commit | b1c04e80c6da5f5d3d4778ede23c59666135fdeb | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Jul 14 09:05:42 2016 +0900 |
committer | Tejun Heo <tj@kernel.org> | Thu Jul 14 10:44:51 2016 -0400 |
tree | fcd51c4ed47d0c428da9c0dcb7e27341fc2fafd3 | |
parent | 2983860c766870b701c4a34f435c1e18db086244 [diff] |
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>