commit | 203c80187eba037f2d6562e0d5847014746726dd | [log] [tgz] |
---|---|---|
author | Ben Collins <ben.collins@canonical.com> | Thu Jun 05 19:10:21 2008 -0400 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jun 05 16:14:17 2008 -0700 |
tree | 10b1d75a17760d866f7737245c328424e1a319bf | |
parent | b2ab26ab28cfed076ee8a83627d008472f6ac54f [diff] |
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>