diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2016-11-29 12:09:09 +0200 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | eb0d14830022b47c25d3bc4cc191acca503139e1 (patch) | |
tree | 80da71e2d46ac38cb72d6d59269467bda5a2d482 /lib/Kconfig.kgdb | |
parent | 540030f6b57be3cedaad4824245795db368cbda6 (diff) |
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>
(cherry picked from commit 5be80375f5a030e5f5beba76620380da5ea6cefa)
Diffstat (limited to 'lib/Kconfig.kgdb')
0 files changed, 0 insertions, 0 deletions