scsi: scsi_transport_srp: Suppress a W=1 compiler warning
authorBart Van Assche <bart.vanassche@wdc.com>
Fri, 25 Aug 2017 20:46:41 +0000 (13:46 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 21:08:08 +0000 (17:08 -0400)
commit85aa93be7558b009fd8b9f0171d8b8a2b44397f7
tree0179c012eae993a6430046ce2b4525d6a617ca83
parente1779b4ff5412fcb7f943f6b49cac5e70fc724e2
scsi: scsi_transport_srp: Suppress a W=1 compiler warning

Avoid that the following compiler warning is reported when building
with W=1:

drivers/scsi/scsi_transport_srp.c:92:19: warning: comparison is always false due to limited range of data type [-Wtype-limits]

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_transport_srp.c
include/scsi/scsi_transport_srp.h