summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/device_handler
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-04-10 05:07:36 +0200
committerJames Bottomley <James.Bottomley@suse.de>2010-04-11 21:03:59 +0200
commitef7d17a907d89d590831a3995ed8638a9ad394bc (patch)
tree89f3c242e46e157c0ef60f5a4afd5a9a319dcb14 /drivers/scsi/device_handler
parent[SCSI] libfc, fcoe: normalize format specifies for world wide names (diff)
downloadlinux-ef7d17a907d89d590831a3995ed8638a9ad394bc.tar.xz
linux-ef7d17a907d89d590831a3995ed8638a9ad394bc.zip
[SCSI] iscsi_tcp: change & to &&
This change is basically a clean up. datadgst_en is an int which comes from the user. I didn't see anything limiting it to 1 and 0 although obviously that's what it's supposed to be. If the user passed in 2 this test would fail. This same if condition is repeated in another function and it uses && there. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/device_handler')
0 files changed, 0 insertions, 0 deletions