From: Bhuvanesh Surachari Date: Mon, 1 Dec 2014 07:23:02 +0000 (-0500) Subject: mmc: queue: Improve error handling during allocation of bounce buffers X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~28^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdb409f636cd6fc3ac4e2f9c880402860e738554;p=pandora-kernel.git 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 Signed-off-by: Harish Jenny K N Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed