aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/vde_kern.c
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-10-16 04:27:29 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 12:43:08 -0400
commitcd1ae0e49bdd814cfaa2e5ab28cff21a30e20085 (patch)
tree1b993b9de4cb9a8578022a4014063c3e87ec996e /arch/um/drivers/vde_kern.c
parent1a80521990a0e30e61a92994a009adc52161b070 (diff)
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 eb8cf31b820..c5d01685d2b 100644
--- a/arch/um/drivers/vde_kern.c
+++ b/arch/um/drivers/vde_kern.c
@@ -7,10 +7,8 @@
7 * 7 *
8 */ 8 */
9 9
10#include "linux/kernel.h"
11#include "linux/init.h" 10#include "linux/init.h"
12#include "linux/netdevice.h" 11#include <linux/netdevice.h>
13#include "linux/etherdevice.h"
14#include "net_kern.h" 12#include "net_kern.h"
15#include "net_user.h" 13#include "net_user.h"
16#include "vde.h" 14#include "vde.h"
@@ -30,12 +28,12 @@ static void vde_init(struct net_device *dev, void *data)
30 vpri->conn = NULL; 28 vpri->conn = NULL;
31 vpri->dev = dev; 29 vpri->dev = dev;
32 30
33 printk(KERN_INFO "vde backend - %s, ", vpri->vde_switch ? 31 printk("vde backend - %s, ", vpri->vde_switch ?
34 vpri->vde_switch : "(default socket)"); 32 vpri->vde_switch : "(default socket)");
35 33
36 vde_init_libstuff(vpri, init); 34 vde_init_libstuff(vpri, init);
37 35
38 printk(KERN_INFO "\n"); 36 printk("\n");
39} 37}
40 38
41static int vde_read(int fd, struct sk_buff **skb, struct uml_net_private *lp) 39static int vde_read(int fd, struct sk_buff **skb, struct uml_net_private *lp)