diff options
author | Kashyap, Desai <kashyap.desai@lsi.com> | 2009-08-07 19:33:17 +0530 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-08-13 16:25:31 -0500 |
commit | 15052c9e85bf0cdadcb69eb89623bf12bad8b4f8 (patch) | |
tree | 439a830a40807909ccddc5ed764eb31c70c28ac2 /drivers/md/dm-kcopyd.c | |
parent | 3493e84de60590d3012139187f631f2dfbf0887f (diff) |
[SCSI] mpt2sas: Introduced check for enclosure_handle to avoid crash
Kernel panic is seen because of enclosure_handle received from FW is zero.
Check is introduced before calling mpt2sas_config_get_enclosure_pg0.
Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/md/dm-kcopyd.c')
0 files changed, 0 insertions, 0 deletions