aboutsummaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-06-21 12:18:28 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-06-22 09:40:36 +0100
commitaabcbfe8dbbfa87f353071182d9bbc68d10f728e (patch)
tree74d63cb8880443d56f29bb70396b0257d357d0cb /Kbuild
parent05b8bcc96278c9ef927a6f25a98e233e55de42e1 (diff)
downloadkernel_replicant_linux-aabcbfe8dbbfa87f353071182d9bbc68d10f728e.tar.gz
kernel_replicant_linux-aabcbfe8dbbfa87f353071182d9bbc68d10f728e.tar.bz2
kernel_replicant_linux-aabcbfe8dbbfa87f353071182d9bbc68d10f728e.zip
iio: sca3000: Potential endian bug in sca3000_read_event_value()
The problem is that "ret" is an int but we're casting it as "(unsigned long *)&ret" when we do the for_each_set_bit() loop. This will not work on big endian 64 bit systems. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions