linux/drivers/mmc/card
Adrian Hunter 5be80375f5 mmc: block: Fix 4K native sector check
The 4K native sector check does not allow for the 'do' loop nor the
variables used after the 'cmd_abort' label.

'brq' and 'req' get reassigned in the 'do' loop, so the check must not
assume what their values are. After the 'cmd_abort' label, 'mq_rq' and
'req' are used, but 'rqc' must be NULL otherwise it can be started again.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2016-12-05 10:31:03 +01:00
..
block.c mmc: block: Fix 4K native sector check 2016-12-05 10:31:03 +01:00
block.h mmc: card: do away with indirection pointer 2016-09-26 21:31:31 +02:00
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile mmc: Makefile: Fix EXTRA_CFLAGS assignment 2010-10-23 21:11:15 +08:00
mmc_test.c mmc: mmc_test: Uninitialized return value 2016-11-29 09:01:01 +01:00
queue.c mmc: block: delete packed command support 2016-11-29 09:05:27 +01:00
queue.h mmc: block: delete packed command support 2016-11-29 09:05:27 +01:00
sdio_uart.c tty: Replace TTY_THROTTLED bit tests with tty_throttled() 2016-04-30 09:26:55 -07:00