net: Fix build warnings after mac_header and transport_header became __u16.
authorDavid S. Miller <davem@davemloft.net>
Tue, 28 May 2013 20:15:50 +0000 (13:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 May 2013 20:15:50 +0000 (13:15 -0700)
commit06ecf24bdf2b7afc6c8fd13de6dba2a96dd331b6
treecfcf9824cbb1317f940f950b26005b9ae7b0b231
parent6c8b4e3ff81b82fc153625e81e60af1d89de2c32
net: Fix build warnings after mac_header and transport_header became __u16.

net/core/skbuff.c: In function ‘__alloc_skb_head’:
net/core/skbuff.c:203:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
net/core/skbuff.c: In function ‘__alloc_skb’:
net/core/skbuff.c:279:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
net/core/skbuff.c:280:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
net/core/skbuff.c: In function ‘build_skb’:
net/core/skbuff.c:348:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
net/core/skbuff.c:349:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]

Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c