diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-06-17 22:06:05 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2019-06-24 15:19:31 +0100 |
commit | 63b2de12b7eeacfb2edbe005f5c3cff17a2a02e2 (patch) | |
tree | c1c1c4f131a3d811fd1c1d7bbe9392775f5909d0 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | cd49b84d61b2dfc0360c76d9e6be49f5116ba1a5 (diff) |
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 <torvalds@linux-foundation.org>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Tested-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions