summaryrefslogtreecommitdiffstats
path: root/tools/iio
diff options
context:
space:
mode:
authorOrson Zhai <orson.zhai@spreadtrum.com>2017-04-25 09:16:56 +0800
committerJonathan Cameron <jic23@kernel.org>2017-04-27 06:30:52 +0100
commit1016d56765740e02a613346f22a35c0ae7bccac4 (patch)
tree131bae54792d855ccfb3e4a7ae0b0869a36959b9 /tools/iio
parent80a49fd8244e810380adeacca10712c7a867d709 (diff)
downloadlinux-1016d56765740e02a613346f22a35c0ae7bccac4.tar.bz2
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