]> git.karo-electronics.de Git - linux-beck.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)
commit8508cb9868015cad4f10d818f32f4030c75e88e0
tree5b0b12abb111501d0f66a782dfa67a92863b3e01
parent8664dccf3adb1ca3bddf5ddd11e44a0c033cad63
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