summaryrefslogtreecommitdiff
path: root/block/blk.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2020-12-15 20:17:41 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-03-11 20:47:00 +0000
commit2646a95df94e5d2aaeb22fa912179831ebd0095b (patch)
tree5c95a03f6cb5d4728da8238c319e7441b03f3f79 /block/blk.h
parenta04e3db5146e49807bb6000302fd2d9efbd964c1 (diff)
iio: iio_format_value(): Use signed temporary for IIO_VAL_FRACTIONAL_LOG2
IIO_VAL_FRACTIONAL_LOG2 works with signed values, yet the temporary we use is unsigned. This works at the moment because the variable is implicitly cast to signed everywhere where it is used. But it will certainly be cleaner to use a signed variable in the first place. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Link: https://lore.kernel.org/r/20201215191743.2725-1-lars@metafoo.de Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions