[SCSI] qla4xxx: Silence gcc warning
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>
Wed, 17 Apr 2013 09:15:26 +0000 (05:15 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 2 May 2013 19:24:40 +0000 (12:24 -0700)
commitb6130cea43126913f86bc84bdbf3c8efe25339e1
tree0c7940f5f41df370611ecdf631a10bdc6af5cb22
parent631d706e684e6187dbbc3cce3ee301d5b53648a8
[SCSI] qla4xxx: Silence gcc warning

Fix followig gcc warning:-
drivers/scsi/qla4xxx/ql4_os.c: In function ‘qla4xxx_sysfs_ddb_get_param’:
drivers/scsi/qla4xxx/ql4_os.c:6279:
warning: comparison is always true due to limited range of data type
drivers/scsi/qla4xxx/ql4_os.c:6290:
warning: comparison is always true due to limited range of data type
drivers/scsi/qla4xxx/ql4_os.c: In function ‘qla4xxx_sysfs_ddb_delete’:
drivers/scsi/qla4xxx/ql4_os.c:6593:
warning: ‘ddb_size’ may be used uninitialized in this function

Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_os.c