aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-06-17 22:06:05 +0300
committerLee Jones <lee.jones@linaro.org>2019-06-24 15:19:31 +0100
commit63b2de12b7eeacfb2edbe005f5c3cff17a2a02e2 (patch)
treec1c1c4f131a3d811fd1c1d7bbe9392775f5909d0 /drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c
parentmfd: stmfx: Uninitialized variable in stmfx_irq_handler() (diff)
downloadlinux-dev-63b2de12b7eeacfb2edbe005f5c3cff17a2a02e2.tar.xz
linux-dev-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 <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 'drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c')
0 files changed, 0 insertions, 0 deletions