diff options
author | Orson Zhai <orson.zhai@spreadtrum.com> | 2017-04-25 03:16:56 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-04-27 07:30:52 +0200 |
commit | 1016d56765740e02a613346f22a35c0ae7bccac4 (patch) | |
tree | 131bae54792d855ccfb3e4a7ae0b0869a36959b9 /tools/iio | |
parent | iio: adc: rcar-gyroadc: Drop if clock from Renesas GyroADC bindings (diff) | |
download | linux-1016d56765740e02a613346f22a35c0ae7bccac4.tar.xz linux-1016d56765740e02a613346f22a35c0ae7bccac4.zip |
iio: core: Fix suspicious sizeof usage
Pointer size is variours in different system, say 32bit for 4 and 64bit
for 8. The 'sizeof(infomask)' may lead to wrong bit numbers.
Signed-off-by: Orson Zhai <orson.zhai@spreadtrum.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/iio')
0 files changed, 0 insertions, 0 deletions