aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/libfc.h
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@mellanox.com>2015-06-25 13:34:15 +0300
committerDoug Ledford <dledford@redhat.com>2015-07-14 13:20:09 -0400
commit3fdf70acec13efc7ecf254f5a364df06348bfd2c (patch)
tree9c463c5431b02863acc8a4af9ed02796b01aa232 /include/scsi/libfc.h
parentIB/srpt: Convert use of __constant_cpu_to_beXX to cpu_to_beXX (diff)
downloadlinux-dev-3fdf70acec13efc7ecf254f5a364df06348bfd2c.tar.xz
linux-dev-3fdf70acec13efc7ecf254f5a364df06348bfd2c.zip
IB/srp: Avoid using uninitialized variable
We might return res which is not initialized. Also reduce code duplication by exporting srp_parse_tmo so srp_tmo_set can reuse it. Detected by Coverity. Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Jenny Falkovich <jennyf@mellanox.com> Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/scsi/libfc.h')
0 files changed, 0 insertions, 0 deletions