From: Rami Rosen Date: Tue, 21 Apr 2009 13:22:01 +0000 (+0300) Subject: mwl8: fix build warning. X-Git-Tag: v2.6.30-rc4~68^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c491bf1205485c83086bf4f2f26ca6598d48133a;p=pandora-kernel.git mwl8: fix build warning. This patch fixes a build warning in mwl8.c. (Marvell TOPDOG wireless driver) The warning it fixes is: "large integer implicitly truncated to unsigned type." The rx_ctrl member of the mwl8k_rx_desc struct is 8 bit (__u8 ), whereas trying to assign it a 32 bit value (which is returned from cpu_to_le32()) causes the compiler to issue a truncation warning. Signed-off-by: Rami Rosen Signed-off-by: John W. Linville --- Reading git-diff-tree failed