Skip to content
Commit 1016d567 authored by Orson Zhai's avatar Orson Zhai Committed by Jonathan Cameron
Browse files

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: default avatarOrson Zhai <orson.zhai@spreadtrum.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 80a49fd8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment