diff options
author | David Decotigny <decot@google.com> | 2011-04-13 17:22:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-15 07:00:32 +0200 |
commit | 65cce19c07756c2b2b51595c967dda93b0727027 (patch) | |
tree | df3f51653b8dccced401c902d8566f068c735cfc /Makefile | |
parent | net-bonding: Fix minor sparse complaints (diff) | |
download | linux-65cce19c07756c2b2b51595c967dda93b0727027.tar.xz linux-65cce19c07756c2b2b51595c967dda93b0727027.zip |
net-bonding: Fix minor/cosmetic type inconsistencies
The __get_link_speed() function returns a u16 value which was stored
in a u32 local variable. This patch uses the return value directly,
thus fixing that minor type consistency.
The 'duplex' field in struct slave being encoded on 8 bits, to be more
consistent we use a u8 integer (instead of u16) whenever we copy it to
local variables.
Signed-off-by: David Decotigny <decot@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions