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:
4097596
)
netvsc: use typed pointer for internal state
author
stephen hemminger
<stephen@networkplumber.org>
Thu, 8 Jun 2017 23:21:20 +0000
(16:21 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 9 Jun 2017 16:15:02 +0000
(12:15 -0400)
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>
drivers/net/hyperv/hyperv_net.h
patch
|
blob
|
history
diff --git
a/drivers/net/hyperv/hyperv_net.h
b/drivers/net/hyperv/hyperv_net.h
index 262b2ea576a38e4bb7d1c442f2dfcbc2c40fa302..f82d54e0208c32bd31ce9dfd0ddd0f99129c625d 100644
(file)
--- 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;