]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: queue: remove BUG_ON for bounce_sg
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 2 Nov 2016 07:26:49 +0000 (15:26 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Dec 2016 09:31:13 +0000 (10:31 +0100)
commit1e826fe54f971d513d07ecc3881ed27e18283170
tree5b0b12abb111501d0f66a782dfa67a92863b3e01
parentda3c7507c8970d96196831eb8461b689772b625f
mmc: queue: remove BUG_ON for bounce_sg

bounce_sg for mqrq_cur and mqrq_pre are proper
allocated when initializing the queue and will not
be freed before explicitly cleaning the queue. So from
the code itself it should be quite confident to remove
this check. If that BUG_ON take effects, it is mostly
likely the memory is randomly oopsing.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/card/queue.c