aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2019-06-17 19:06:05 +0000
committerLee Jones <[email protected]>2019-06-24 14:19:31 +0000
commit63b2de12b7eeacfb2edbe005f5c3cff17a2a02e2 (patch)
treec1c1c4f131a3d811fd1c1d7bbe9392775f5909d0 /fs/proc/array.c
parentmfd: stmfx: Uninitialized variable in stmfx_irq_handler() (diff)
downloadkernel-63b2de12b7eeacfb2edbe005f5c3cff17a2a02e2.tar.gz
kernel-63b2de12b7eeacfb2edbe005f5c3cff17a2a02e2.zip
mfd: stmfx: Fix an endian bug in stmfx_irq_handler()
It's not okay to cast a "u32 *" to "unsigned long *" when you are doing a for_each_set_bit() loop because that will break on big endian systems. Fixes: 386145601b82 ("mfd: stmfx: Uninitialized variable in stmfx_irq_handler()") Reported-by: Linus Torvalds <[email protected]> Signed-off-by: Dan Carpenter <[email protected]> Tested-by: Amelie Delaunay <[email protected]> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions