]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qla4xxx: Fix exporting boot targets to sysfs
authorLalit Chandivade <lalit.chandivade@qlogic.com>
Fri, 7 Oct 2011 23:55:43 +0000 (16:55 -0700)
committerGuru Anbalagane <guru.anbalagane@oracle.com>
Fri, 16 Dec 2011 02:30:43 +0000 (18:30 -0800)
commit0016badfc66c67fa81aacfe74977eaf3ce804a64
treea69cd4ba5875dc9260ddf55dd25b3630bc7e6800
parentbc532fa5b841a92c4653f488f65e51621bb5d506
qla4xxx: Fix exporting boot targets to sysfs

The driver failed to export primary boot target if secondary target did not
exist in the FLASH. If boot targets are not valid then driver assumed 0 and
1 as default boot targets. Since these target did not exist in flash, the
driver failed exporting all the targets.

JIRA Key: UPSISCSI-148

Signed-off-by: Lalit Chandivade <lalit.chandivade@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_os.c