projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f03980
)
net: usnic: use __ethtool_get_settings
author
David Decotigny
<
[email protected]
>
Wed, 24 Feb 2016 18:57:58 +0000
(10:57 -0800)
committer
David S. Miller
<
[email protected]
>
Fri, 26 Feb 2016 03:06:45 +0000
(22:06 -0500)
Signed-off-by: David Decotigny <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/infiniband/hw/usnic/usnic_ib_verbs.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/usnic/usnic_ib_verbs.c
b/drivers/infiniband/hw/usnic/usnic_ib_verbs.c
index ea003ec393d5e4e6c3a050d935dd566cd212db96..1cf19a31f57bf597f6d26b154a8136758238a1b9 100644
(file)
--- a/
drivers/infiniband/hw/usnic/usnic_ib_verbs.c
+++ b/
drivers/infiniband/hw/usnic/usnic_ib_verbs.c
@@
-329,7
+329,7
@@
int usnic_ib_query_port(struct ib_device *ibdev, u8 port,
usnic_dbg("\n");
mutex_lock(&us_ibdev->usdev_lock);
-
us_ibdev->netdev->ethtool_ops->
get_settings(us_ibdev->netdev, &cmd);
+
__ethtool_
get_settings(us_ibdev->netdev, &cmd);
memset(props, 0, sizeof(*props));
props->lid = 0;