diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /net/wanrouter/wanmain.c | |
parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) |
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts:
litmus/sched_cedf.c
Diffstat (limited to 'net/wanrouter/wanmain.c')
-rw-r--r-- | net/wanrouter/wanmain.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net/wanrouter/wanmain.c b/net/wanrouter/wanmain.c index 2bf23406637a..788a12c1eb5d 100644 --- a/net/wanrouter/wanmain.c +++ b/net/wanrouter/wanmain.c | |||
@@ -59,8 +59,6 @@ | |||
59 | #include <asm/uaccess.h> /* copy_to/from_user */ | 59 | #include <asm/uaccess.h> /* copy_to/from_user */ |
60 | #include <linux/init.h> /* __initfunc et al. */ | 60 | #include <linux/init.h> /* __initfunc et al. */ |
61 | 61 | ||
62 | #define KMEM_SAFETYZONE 8 | ||
63 | |||
64 | #define DEV_TO_SLAVE(dev) (*((struct net_device **)netdev_priv(dev))) | 62 | #define DEV_TO_SLAVE(dev) (*((struct net_device **)netdev_priv(dev))) |
65 | 63 | ||
66 | /* | 64 | /* |
@@ -471,7 +469,7 @@ static int wanrouter_device_setup(struct wan_device *wandev, | |||
471 | data = vmalloc(conf->data_size); | 469 | data = vmalloc(conf->data_size); |
472 | if (!data) { | 470 | if (!data) { |
473 | printk(KERN_INFO | 471 | printk(KERN_INFO |
474 | "%s: ERROR, Faild allocate kernel memory !\n", | 472 | "%s: ERROR, Failed allocate kernel memory !\n", |
475 | wandev->name); | 473 | wandev->name); |
476 | kfree(conf); | 474 | kfree(conf); |
477 | return -ENOBUFS; | 475 | return -ENOBUFS; |
@@ -481,7 +479,7 @@ static int wanrouter_device_setup(struct wan_device *wandev, | |||
481 | err = wandev->setup(wandev, conf); | 479 | err = wandev->setup(wandev, conf); |
482 | } else { | 480 | } else { |
483 | printk(KERN_INFO | 481 | printk(KERN_INFO |
484 | "%s: ERROR, Faild to copy from user data !\n", | 482 | "%s: ERROR, Failed to copy from user data !\n", |
485 | wandev->name); | 483 | wandev->name); |
486 | err = -EFAULT; | 484 | err = -EFAULT; |
487 | } | 485 | } |