summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_som.c
diff options
context:
space:
mode:
authorBen Collins <ben.collins@canonical.com>2008-06-06 01:10:21 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-06-06 01:14:17 +0200
commit203c80187eba037f2d6562e0d5847014746726dd (patch)
tree10b1d75a17760d866f7737245c328424e1a319bf /fs/binfmt_som.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb (diff)
downloadlinux-203c80187eba037f2d6562e0d5847014746726dd.tar.xz
linux-203c80187eba037f2d6562e0d5847014746726dd.zip
mmc: Fix crash in mmc_block on 64-bit
Fairly simple. "dev_use" was being allocated as a zero length array because of bad math on 64-bit systems, causing a crash in find_first_zero_bit(). One-liner follows: Signed-off-by: Ben Collins <ben.collins@canonical.com> Acked-by: Pierre Ossman <drzeus@drzeus.cx> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/binfmt_som.c')
0 files changed, 0 insertions, 0 deletions