]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: correct invalid error checking
authorAlan Cox <alan@linux.intel.com>
Mon, 2 Jul 2012 17:55:13 +0000 (18:55 +0100)
committerChris Ball <cjb@laptop.org>
Sat, 21 Jul 2012 04:02:24 +0000 (00:02 -0400)
commitad7211bea3177368b7d4df2b8ee004699e1af36e
tree79565f8d73049e1d66812cf308cd14671c528860
parent0019a4b63e4cb36a6282cc42d4ec3ad98b8acac1
mmc: core: correct invalid error checking

The effect of the existing code is that we continue blindly when we
should warn about an invalid allocation unit.

Reported-by: dcb314@hotmail.com
Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=44061
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/sd.c