diff options
author | stephen hemminger <stephen@networkplumber.org> | 2017-06-09 01:21:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-09 18:15:02 +0200 |
commit | 2d05b56097664e1d8b7fd690e6eac03cc6a82cc3 (patch) | |
tree | 084a89e9de7503445884f3653ce324c50520a129 /drivers/net/hyperv/hyperv_net.h | |
parent | netvsc: use hv_get_bytes_to_read (diff) | |
download | linux-2d05b56097664e1d8b7fd690e6eac03cc6a82cc3.tar.xz 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; |