diff options
author | stephen hemminger <stephen@networkplumber.org> | 2017-06-08 16:21:20 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-09 12:15:02 -0400 |
commit | 2d05b56097664e1d8b7fd690e6eac03cc6a82cc3 (patch) | |
tree | 084a89e9de7503445884f3653ce324c50520a129 /drivers/net/hyperv/hyperv_net.h | |
parent | 40975962788ef5b796ab0f36bfd7051064c915d3 (diff) | |
download | linux-2d05b56097664e1d8b7fd690e6eac03cc6a82cc3.tar.gz linux-2d05b56097664e1d8b7fd690e6eac03cc6a82cc3.tar.bz2 linux-2d05b56097664e1d8b7fd690e6eac03cc6a82cc3.zip |
netvsc: use typed pointer for internal state
The element netvsc_device:extension is always a pointer to RNDIS
information.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
-rw-r--r-- | drivers/net/hyperv/hyperv_net.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h index 262b2ea576a3..f82d54e0208c 100644 --- a/drivers/net/hyperv/hyperv_net.h +++ b/drivers/net/hyperv/hyperv_net.h @@ -763,8 +763,7 @@ struct netvsc_device { refcount_t sc_offered; - /* Holds rndis device info */ - void *extension; + struct rndis_device *extension; int ring_size; |