diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-10-16 04:27:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:08 -0400 |
commit | cd1ae0e49bdd814cfaa2e5ab28cff21a30e20085 (patch) | |
tree | 1b993b9de4cb9a8578022a4014063c3e87ec996e /arch/um/drivers/vde_user.c | |
parent | 1a80521990a0e30e61a92994a009adc52161b070 (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_user.c')
-rw-r--r-- | arch/um/drivers/vde_user.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/um/drivers/vde_user.c b/arch/um/drivers/vde_user.c index d3b5a065fc52..7533cd3cbba4 100644 --- a/arch/um/drivers/vde_user.c +++ b/arch/um/drivers/vde_user.c | |||
@@ -3,15 +3,13 @@ | |||
3 | * Licensed under the GPL. | 3 | * Licensed under the GPL. |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include <stddef.h> | ||
6 | #include <errno.h> | 7 | #include <errno.h> |
7 | #include <unistd.h> | ||
8 | #include <libvdeplug.h> | 8 | #include <libvdeplug.h> |
9 | #include "net_user.h" | ||
10 | #include "kern_util.h" | ||
11 | #include "kern_constants.h" | 9 | #include "kern_constants.h" |
12 | #include "user.h" | 10 | #include "net_user.h" |
13 | #include "os.h" | ||
14 | #include "um_malloc.h" | 11 | #include "um_malloc.h" |
12 | #include "user.h" | ||
15 | #include "vde.h" | 13 | #include "vde.h" |
16 | 14 | ||
17 | #define MAX_PACKET (ETH_MAX_PACKET + ETH_HEADER_OTHER) | 15 | #define MAX_PACKET (ETH_MAX_PACKET + ETH_HEADER_OTHER) |