Commit cd7b5396 authored by David S. Miller's avatar David S. Miller

net: Use explicit "unsigned int" instead of plain "unsigned" in netdevice.h

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dee42870
...@@ -878,7 +878,7 @@ struct net_device { ...@@ -878,7 +878,7 @@ struct net_device {
unsigned char operstate; /* RFC2863 operstate */ unsigned char operstate; /* RFC2863 operstate */
unsigned char link_mode; /* mapping policy to 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 type; /* interface hardware type */
unsigned short hard_header_len; /* hardware hdr length */ unsigned short hard_header_len; /* hardware hdr length */
...@@ -1381,10 +1381,10 @@ struct softnet_data { ...@@ -1381,10 +1381,10 @@ struct softnet_data {
struct sk_buff_head process_queue; struct sk_buff_head process_queue;
/* stats */ /* stats */
unsigned processed; unsigned int processed;
unsigned time_squeeze; unsigned int time_squeeze;
unsigned cpu_collision; unsigned int cpu_collision;
unsigned received_rps; unsigned int received_rps;
#ifdef CONFIG_RPS #ifdef CONFIG_RPS
struct softnet_data *rps_ipi_list; struct softnet_data *rps_ipi_list;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment