[SCSI] bnx2fc: use list_entry instead of explicit cast
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Thu, 7 Jun 2012 09:19:36 +0000 (02:19 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 20 Jul 2012 07:58:24 +0000 (08:58 +0100)
Use list_for_each_entry_safe() instead of explicit cast to avoid relying on
struct layout

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>

No differences found