diff options
author | Bhuvanesh Surachari | 2014-12-01 02:23:02 -0500 |
---|---|---|
committer | Ulf Hansson | 2014-12-05 10:33:17 +0100 |
commit | fdb409f636cd6fc3ac4e2f9c880402860e738554 (patch) | |
tree | 34a579006f5fe970ec9646e5eaf882d3af4345a3 /include/linux | |
parent | 9d65cb88e5979d43f47c899601353ca61973ba90 (diff) |
mmc: queue: Improve error handling during allocation of bounce buffers
Allocation of previous bounce buffer in mmc_init_queue when the current
bounce buffer allocation fails was leading to a crash later in
__blk_segment_map_sg. Error handling is improved by allocating previous
bounce buffer only if the current bounce buffer allocation succeeds.
Signed-off-by: Bhuvanesh Surachari <bhuvanesh_surachari@mentor.com>
Signed-off-by: Harish Jenny K N <harish_kandiga@mentor.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions