From: Michal Schmidt Date: Thu, 3 Sep 2009 12:27:08 +0000 (+0200) Subject: [SCSI] sg: fix oops in the error path in sg_build_indirect() X-Git-Tag: v2.6.32-rc1~689^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e71044ee2efa4792e21d243b03d49006db66aec9;p=pandora-kernel.git [SCSI] sg: fix oops in the error path in sg_build_indirect() When the allocation fails in sg_build_indirect(), an oops happens in the error path. It's caused by an obvious typo. Signed-off-by: Michal Schmidt Reported-by: Bob Tracy Acked-by: Douglas Gilbert Cc: Stable Tree Signed-off-by: James Bottomley --- Reading git-diff-tree failed