提交 2d05b560 编写于 作者: S stephen hemminger 提交者: David S. Miller

netvsc: use typed pointer for internal state

The element netvsc_device:extension is always a pointer to RNDIS
information.
Signed-off-by: NStephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 40975962
......@@ -763,8 +763,7 @@ struct netvsc_device {
refcount_t sc_offered;
/* Holds rndis device info */
void *extension;
struct rndis_device *extension;
int ring_size;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册