Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249531
b: refs/heads/master
c: f752e9b
h: refs/heads/master
i:
  249529: 46ab56b
  249527: 1af5ba1
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 11, 2011
1 parent 4b79b6a commit cdea684
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 043ee6765570ca399efaf0984788e4ba88520fa5
refs/heads/master: f752e9befd5cd6420fae1939ca8a82ab25e83f5d
8 changes: 4 additions & 4 deletions trunk/drivers/staging/hv/netvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module_param(ring_size, int, S_IRUGO);
MODULE_PARM_DESC(ring_size, "Ring buffer size (# of pages)");

/* The one and only one */
static struct netvsc_driver g_netvsc_drv;
static struct netvsc_driver netvsc_drv;

/* no-op so the netdev core doesn't return -EINVAL when modifying the the
* multicast address list in SIOCADDMULTI. hv is setup to get all multicast
Expand Down Expand Up @@ -444,7 +444,7 @@ static int netvsc_drv_exit_cb(struct device *dev, void *data)

static void netvsc_drv_exit(void)
{
struct hv_driver *drv = &g_netvsc_drv.base;
struct hv_driver *drv = &netvsc_drv.base;
struct device *current_dev;
int ret;

Expand Down Expand Up @@ -472,8 +472,8 @@ static void netvsc_drv_exit(void)

static int netvsc_drv_init(int (*drv_init)(struct hv_driver *drv))
{
struct netvsc_driver *net_drv_obj = &g_netvsc_drv;
struct hv_driver *drv = &g_netvsc_drv.base;
struct netvsc_driver *net_drv_obj = &netvsc_drv;
struct hv_driver *drv = &netvsc_drv.base;
int ret;

net_drv_obj->ring_buf_size = ring_size * PAGE_SIZE;
Expand Down

0 comments on commit cdea684

Please sign in to comment.