From: David Decotigny Date: Wed, 13 Apr 2011 15:22:30 +0000 (+0000) Subject: net-bonding: Fix minor/cosmetic type inconsistencies X-Git-Tag: v3.0-rc1~377^2~395 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65cce19c07756c2b2b51595c967dda93b0727027;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed