Leon Romanovsky
e3f2d5579c
net: phy: propagate an error back to the callers of phy_sfp_probe
...
The compilation warning below reveals that the errors returned from
the sfp_bus_add_upstream() call are not propagated to the callers.
Fix it by returning "ret".
14:37:51 drivers/net/phy/phy_device.c: In function 'phy_sfp_probe':
14:37:51 drivers/net/phy/phy_device.c:1236:6: warning: variable 'ret'
set but not used [-Wunused-but-set-variable]
14:37:51 1236 | int ret;
14:37:51 | ^~~
Fixes: 298e54fa81 ("net: phy: add core phylib sfp support")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2020-05-17 12:43:49 -07:00
..
2020-03-24 16:36:37 -07:00
2020-01-19 16:06:42 +01:00
2019-04-15 17:19:54 -07:00
2020-03-23 22:00:02 -07:00
2019-11-27 11:25:48 -08:00
2020-04-01 11:20:47 -07:00
2019-06-09 13:24:17 -07:00
2020-03-27 16:07:24 -07:00
2020-03-03 17:37:06 -08:00
2019-05-26 21:56:41 -07:00
2020-04-23 15:55:35 -07:00
2019-04-15 17:19:54 -07:00
2020-03-27 16:07:24 -07:00
2020-03-27 16:07:24 -07:00
2020-05-14 17:40:06 -07:00
2019-04-15 17:19:54 -07:00
2019-04-15 17:19:54 -07:00
2020-05-01 15:23:44 -07:00
2020-04-30 17:48:26 -07:00
2020-05-01 15:23:44 -07:00
2019-08-17 12:34:50 -07:00
2020-03-25 18:58:11 -07:00
2019-12-14 16:11:40 -08:00
2019-04-15 17:19:54 -07:00
2020-01-05 14:27:01 -08:00
2019-04-15 17:19:54 -07:00
2019-04-15 17:19:54 -07:00
2020-03-26 19:49:34 -07:00
2020-02-16 19:39:44 -08:00
2019-12-19 12:52:34 -08:00
2020-03-26 19:49:34 -07:00
2020-04-27 11:38:19 -07:00
2020-04-11 16:51:09 -07:00
2020-04-07 18:33:48 -07:00
2019-10-04 18:07:45 -07:00
2019-08-02 17:56:28 -07:00
2020-02-16 19:19:18 -08:00
2020-03-24 16:45:32 -07:00
2019-11-27 11:25:48 -08:00
2019-08-28 14:51:00 -07:00
2019-12-11 11:53:41 -08:00
2019-11-27 11:25:48 -08:00
2020-03-06 22:07:05 -08:00
2019-08-28 14:51:00 -07:00
2020-03-25 18:58:11 -07:00
2019-12-23 18:53:13 -08:00
2020-03-26 19:49:34 -07:00
2019-11-18 17:22:40 -08:00
2019-12-06 12:05:06 -08:00
2019-08-01 13:10:34 -04:00
2019-11-27 11:25:48 -08:00
2020-03-23 21:01:58 -07:00
2019-08-17 12:34:50 -07:00
2020-04-14 16:25:30 -07:00
2020-04-22 11:38:58 -07:00
2019-08-17 12:34:50 -07:00
2020-01-31 07:46:11 -08:00
2019-09-21 18:21:52 -07:00
2020-03-23 22:00:02 -07:00
2020-05-17 12:43:49 -07:00
2019-07-31 18:56:11 -04:00
2020-02-27 18:31:39 -08:00
2020-03-23 21:09:47 -07:00
2020-05-13 15:21:59 -07:00
2020-03-30 11:52:27 -07:00
2019-04-15 17:19:54 -07:00
2020-03-18 17:05:34 -07:00
2019-04-15 17:19:54 -07:00
2020-03-17 23:39:29 -07:00
2019-12-19 17:26:07 -08:00
2019-12-11 11:53:41 -08:00
2020-03-23 22:00:02 -07:00
2019-04-23 10:44:44 -07:00
2019-04-15 17:19:54 -07:00
2019-08-15 11:43:48 -07:00
2019-12-19 12:52:34 -08:00
2019-08-17 12:34:50 -07:00
2019-09-05 12:32:06 +02:00