]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] qla2xxx: Fix incorrect test after list_for_each_entry() exits.
authorJoe Carnuccio <joe.carnuccio@qlogic.com>
Tue, 27 Aug 2013 05:37:29 +0000 (01:37 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 3 Sep 2013 14:28:00 +0000 (07:28 -0700)
commite7926168205c049c039a5394da7d8dd3136cc0d8
treee5aa44c78de56217dd5dfc2323aa8920a4537808
parent5f6e1558ce8add5ab3a95010572652c0d56106af
[SCSI] qla2xxx: Fix incorrect test after list_for_each_entry() exits.

list_for_each_entry() never leaves the iterator pointing to null.

Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_bsg.c