commit | 1016d56765740e02a613346f22a35c0ae7bccac4 | [log] [tgz] |
---|---|---|
author | Orson Zhai <orson.zhai@spreadtrum.com> | Tue Apr 25 09:16:56 2017 +0800 |
committer | Jonathan Cameron <jic23@kernel.org> | Thu Apr 27 06:30:52 2017 +0100 |
tree | 131bae54792d855ccfb3e4a7ae0b0869a36959b9 | |
parent | 80a49fd8244e810380adeacca10712c7a867d709 [diff] |
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>