summaryrefslogtreecommitdiff
path: root/mm/quicklist.c
diff options
context:
space:
mode:
authorJohan Kristell <johan.kristell@axis.com>2010-02-10 21:56:34 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2010-02-11 21:59:42 (GMT)
commitc286d03cce118e9fb8dda8da43f9131c169c5a75 (patch)
treebcc136934c1b3699163a4a59ef64f7849b620ec0 /mm/quicklist.c
parent93716b9470fbfd9efdc7d0f2445cb34635de3f6d (diff)
downloadlinux-c286d03cce118e9fb8dda8da43f9131c169c5a75.tar.xz
mmc_test: block addressed cards
This patch fixes a bug in the multiblock write tests where the written data is read back for verifying one block at a time. The tests in mmc_test assumes that all cards are byte addressable. This will cause the multi block write tests to fail, leading the user of the mmc_test driver thinking there is something wrong with the sdhci driver they are testing. The start address for the block is calculated as: blocknum * 512. For block addressable cards the blocknum alone should be used. Signed-off-by: Johan Kristell <johan.kristell@axis.com> Cc: <linux-mmc@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/quicklist.c')
0 files changed, 0 insertions, 0 deletions