summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/vde_kern.c
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-10-16 01:27:29 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 09:43:08 -0700
commitcd1ae0e49bdd814cfaa2e5ab28cff21a30e20085 (patch)
tree1b993b9de4cb9a8578022a4014063c3e87ec996e /arch/um/drivers/vde_kern.c
parent1a80521990a0e30e61a92994a009adc52161b070 (diff)
downloadop-kernel-dev-cd1ae0e49bdd814cfaa2e5ab28cff21a30e20085.zip
op-kernel-dev-cd1ae0e49bdd814cfaa2e5ab28cff21a30e20085.tar.gz
uml: network formatting
Style and other non-functional changes in the UML networking code, including include tidying style violations copyright updates printks getting severities userspace code calling libc directly rather than using the os_* wrappers There's also a exit path cleanup in the pcap driver. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/drivers/vde_kern.c')
-rw-r--r--arch/um/drivers/vde_kern.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/um/drivers/vde_kern.c b/arch/um/drivers/vde_kern.c
index eb8cf31..c5d0168 100644
--- a/arch/um/drivers/vde_kern.c
+++ b/arch/um/drivers/vde_kern.c
@@ -7,10 +7,8 @@
*
*/
-#include "linux/kernel.h"
#include "linux/init.h"
-#include "linux/netdevice.h"
-#include "linux/etherdevice.h"
+#include <linux/netdevice.h>
#include "net_kern.h"
#include "net_user.h"
#include "vde.h"
@@ -30,12 +28,12 @@ static void vde_init(struct net_device *dev, void *data)
vpri->conn = NULL;
vpri->dev = dev;
- printk(KERN_INFO "vde backend - %s, ", vpri->vde_switch ?
+ printk("vde backend - %s, ", vpri->vde_switch ?
vpri->vde_switch : "(default socket)");
vde_init_libstuff(vpri, init);
- printk(KERN_INFO "\n");
+ printk("\n");
}
static int vde_read(int fd, struct sk_buff **skb, struct uml_net_private *lp)
OpenPOWER on IntegriCloud