Tom Rix
d9dc0c84ad
qed: return status of qed_iov_get_link
...
Clang static analysis reports this issue
qed_sriov.c:4727:19: warning: Assigned value is
garbage or undefined
ivi->max_tx_rate = tx_rate ? tx_rate : link.speed;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
link is only sometimes set by the call to qed_iov_get_link()
qed_iov_get_link fails without setting link or returning
status. So change the decl to return status.
Fixes: 73390ac9d8 ("qed*: support ndo_get_vf_config")
Signed-off-by: Tom Rix <trix@redhat.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2022-03-07 12:22:28 +00:00
..
2021-06-03 14:04:17 -07:00
2020-07-27 12:17:14 -07:00
2021-11-22 14:30:57 +00:00
2021-10-04 12:55:49 +01:00
2021-10-04 12:55:48 +01:00
2021-07-27 11:55:19 +01:00
2021-10-04 12:55:48 +01:00
2021-10-13 08:42:01 -07:00
2021-10-04 12:55:49 +01:00
2021-10-14 09:22:11 -07:00
2021-10-25 19:11:13 -07:00
2021-09-27 16:31:59 +01:00
2020-08-24 18:01:33 -07:00
2021-10-04 12:55:49 +01:00
2021-12-02 12:22:17 +00:00
2021-10-04 12:55:48 +01:00
2021-12-02 12:22:17 +00:00
2021-10-04 12:55:49 +01:00
2021-10-04 12:55:49 +01:00
2021-12-03 18:24:20 -08:00
2021-12-03 18:24:20 -08:00
2021-10-04 12:55:49 +01:00
2021-10-04 12:55:49 +01:00
2021-10-04 12:55:48 +01:00
2021-10-04 12:55:49 +01:00
2021-10-14 09:22:11 -07:00
2021-10-04 12:55:49 +01:00
2021-10-18 15:58:21 -07:00
2021-10-04 12:55:48 +01:00
2022-01-02 16:14:30 +00:00
2021-12-03 18:24:21 -08:00
2021-12-03 18:24:21 -08:00
2021-12-03 18:24:21 -08:00
2021-06-03 14:04:17 -07:00
2021-08-03 11:49:28 +01:00
2021-06-07 13:29:50 -07:00
2021-06-03 14:04:18 -07:00
2021-06-03 14:04:17 -07:00
2021-06-03 14:04:17 -07:00
2021-10-18 15:58:21 -07:00
2021-10-25 19:11:13 -07:00
2021-11-03 08:05:59 -07:00
2021-10-04 12:55:48 +01:00
2021-12-03 18:24:20 -08:00
2021-10-04 12:55:48 +01:00
2021-10-04 12:55:48 +01:00
2021-12-02 12:22:17 +00:00
2021-10-04 12:55:49 +01:00
2021-12-02 12:22:17 +00:00
2022-03-07 12:22:28 +00:00
2021-10-08 17:11:58 +01:00
2022-03-07 11:28:38 +00:00
2021-10-14 09:22:11 -07:00
2021-10-04 12:55:49 +01:00