diff options
author | Mariusz Kozlowski <m.kozlowski@tuxland.pl> | 2007-01-02 01:07:32 +0100 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-01-06 09:05:18 -0600 |
commit | a96e0c7798057dd8055d0263c076fed975c10237 (patch) | |
tree | 29b0e003f6ef4347ea68dd4ec3a3507216ca8bd2 /drivers/scsi/sr.c | |
parent | 8e9d58e723e29e8b04c09bd9badd81c1d8232f5f (diff) |
[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