summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/be2iscsi
diff options
context:
space:
mode:
authorChad Dupuis <chad.dupuis@qlogic.com>2011-08-16 20:31:55 +0200
committerJames Bottomley <JBottomley@Parallels.com>2011-08-29 09:14:57 +0200
commite5fdae5583e30bbc730e2035d0b6da33e7d8e4ee (patch)
tree82fd2c7bffb192f3e2f9faa38bfee41dc6f0ee94 /drivers/scsi/be2iscsi
parent[SCSI] qla2xxx: Issue mailbox command only when firmware hung bit is reset fo... (diff)
downloadlinux-e5fdae5583e30bbc730e2035d0b6da33e7d8e4ee.tar.xz
linux-e5fdae5583e30bbc730e2035d0b6da33e7d8e4ee.zip
[SCSI] qla2xxx: Fix "active_mask" may be used uninitialized warning.
Since active_mask is first assigned in an "else" block, the compiler throws a warning saying that the active_mask variable may be used uninitialized in a print statement later. Initialize active_mask to 0 in the declaration to stop the warning. Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/be2iscsi')
0 files changed, 0 insertions, 0 deletions