summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sr.c
diff options
context:
space:
mode:
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>2007-01-02 01:07:32 +0100
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-01-06 09:05:18 -0600
commita96e0c7798057dd8055d0263c076fed975c10237 (patch)
tree29b0e003f6ef4347ea68dd4ec3a3507216ca8bd2 /drivers/scsi/sr.c
parent8e9d58e723e29e8b04c09bd9badd81c1d8232f5f (diff)
downloadlinux-stable-a96e0c7798057dd8055d0263c076fed975c10237.tar.gz
linux-stable-a96e0c7798057dd8055d0263c076fed975c10237.tar.bz2
linux-stable-a96e0c7798057dd8055d0263c076fed975c10237.zip
[SCSI] scsi: lpfc error path fix
Add kmalloc failure check and fix the loop on error path. Without the patch pool element at index [0] will not be freed. Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl> Acked-by: James Smart <James.Smart@Emulex.Com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sr.c')
0 files changed, 0 insertions, 0 deletions