aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-05-02 22:27:59 -0700
committerDavid S. Miller <davem@davemloft.net>2010-05-02 22:27:59 -0700
commitcd7b5396e7e4d10c51116f59f414ff90312af8d4 (patch)
treea89bf09771539582226dece2740734108f5a848a /include
parentnet: fix softnet_stat (diff)
downloadlinux-dev-cd7b5396e7e4d10c51116f59f414ff90312af8d4.tar.xz
linux-dev-cd7b5396e7e4d10c51116f59f414ff90312af8d4.zip
net: Use explicit "unsigned int" instead of plain "unsigned" in netdevice.h
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netdevice.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index c39938f8a8d8..98112fbddefd 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -878,7 +878,7 @@ struct net_device {
unsigned char operstate; /* RFC2863 operstate */
unsigned char link_mode; /* mapping policy to operstate */
- unsigned mtu; /* interface MTU value */
+ unsigned int mtu; /* interface MTU value */
unsigned short type; /* interface hardware type */
unsigned short hard_header_len; /* hardware hdr length */
@@ -1381,10 +1381,10 @@ struct softnet_data {
struct sk_buff_head process_queue;
/* stats */
- unsigned processed;
- unsigned time_squeeze;
- unsigned cpu_collision;
- unsigned received_rps;
+ unsigned int processed;
+ unsigned int time_squeeze;
+ unsigned int cpu_collision;
+ unsigned int received_rps;
#ifdef CONFIG_RPS
struct softnet_data *rps_ipi_list;