diff options
author | Bhuvanesh Surachari <bhuvanesh_surachari@mentor.com> | 2014-12-01 10:23:02 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-12-05 12:33:17 +0300 |
commit | fdb409f636cd6fc3ac4e2f9c880402860e738554 (patch) | |
tree | 34a579006f5fe970ec9646e5eaf882d3af4345a3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 9d65cb88e5979d43f47c899601353ca61973ba90 (diff) | |
download | linux-fdb409f636cd6fc3ac4e2f9c880402860e738554.tar.xz |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions