diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-01-16 20:27:39 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-17 16:31:12 +0100 |
commit | 747465ef7a082033e086dedc8189febfda43b015 (patch) | |
tree | efbdc7a1f25f7bced035077769b4005ea1419abc /net/ipv4/ipconfig.c | |
parent | net: kill duplicate included header (diff) | |
download | linux-747465ef7a082033e086dedc8189febfda43b015.tar.xz linux-747465ef7a082033e086dedc8189febfda43b015.zip |
net: fix some sparse errors
make C=2 CF="-D__CHECK_ENDIAN__" M=net
And fix flowi4_init_output() prototype for sport
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ipconfig.c')
-rw-r--r-- | net/ipv4/ipconfig.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c index 7e4ec9fc2cef..6e412a60a91f 100644 --- a/net/ipv4/ipconfig.c +++ b/net/ipv4/ipconfig.c @@ -141,7 +141,7 @@ __be32 ic_servaddr = NONE; /* Boot server IP address */ __be32 root_server_addr = NONE; /* Address of NFS server */ u8 root_server_path[256] = { 0, }; /* Path to mount as root */ -u32 ic_dev_xid; /* Device under configuration */ +__be32 ic_dev_xid; /* Device under configuration */ /* vendor class identifier */ static char vendor_class_identifier[253] __initdata; @@ -859,9 +859,9 @@ static int __init ic_bootp_string(char *dest, char *src, int len, int max) */ static void __init ic_do_bootp_ext(u8 *ext) { - u8 servers; - int i; - u16 mtu; + u8 servers; + int i; + __be16 mtu; #ifdef IPCONFIG_DEBUG u8 *c; |