Skip to content

Commit

Permalink
net: Use explicit "unsigned int" instead of plain "unsigned" in netde…
Browse files Browse the repository at this point in the history
…vice.h

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed May 3, 2010
1 parent dee4287 commit cd7b539
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit cd7b539

Please sign in to comment.