Sagi Grimberg 3fdf70acec 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>
2015-07-14 13:20:09 -04:00
..
2015-04-17 09:04:09 -04:00
2015-02-11 10:28:45 -08:00
2015-05-18 13:35:56 -04:00
2015-06-23 15:55:44 -07:00
2015-06-23 15:55:44 -07:00
2015-06-19 16:57:51 -07:00
2015-06-23 15:55:44 -07:00
2015-04-27 10:10:19 -07:00
2015-04-27 10:10:19 -07:00
2015-04-27 10:04:39 -07:00
2015-04-27 10:04:39 -07:00
2015-04-27 10:05:55 -07:00
2015-04-27 10:05:55 -07:00
2014-12-04 09:57:13 +01:00
2015-04-17 10:13:56 -07:00
2014-11-20 09:11:11 +01:00
2014-07-17 22:07:37 +02:00
2014-11-20 09:11:10 +01:00
2014-11-20 09:11:10 +01:00
2014-11-24 16:13:16 +01:00
2014-11-20 09:11:10 +01:00
2015-05-31 17:47:31 -07:00
2015-05-31 17:48:35 -07:00
2015-05-31 17:47:31 -07:00
2015-04-16 19:02:04 -04:00
2015-06-02 17:24:54 -07:00
2015-06-23 15:55:44 -07:00
2015-06-19 16:57:51 -07:00
2014-07-17 22:07:35 +02:00
2014-11-24 20:01:28 +01:00
2014-11-20 09:11:10 +01:00
2014-11-20 09:11:10 +01:00
2014-07-17 22:07:37 +02:00
2015-04-16 10:37:12 -07:00
2015-05-25 08:46:24 -07:00
2014-11-12 11:15:57 +01:00
2015-01-09 15:44:19 +01:00
2015-04-11 22:27:14 -04:00
2014-07-17 22:07:39 +02:00
2014-11-24 20:01:28 +01:00
2014-11-12 11:15:57 +01:00
2015-06-02 08:03:25 -07:00
2015-06-02 08:03:25 -07:00
2014-11-20 09:11:15 +01:00
2014-11-20 09:11:10 +01:00
2014-11-20 09:11:10 +01:00