diff options
author | Rami Rosen <roszenrami@gmail.com> | 2009-04-21 15:22:01 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-21 22:43:33 +0200 |
commit | c491bf1205485c83086bf4f2f26ca6598d48133a (patch) | |
tree | ca515aaa688330b4c93466fd86d32e6c8bdeaa47 /drivers/serial | |
parent | mac80211: fix alignment calculation bug (diff) | |
download | linux-c491bf1205485c83086bf4f2f26ca6598d48133a.tar.xz linux-c491bf1205485c83086bf4f2f26ca6598d48133a.zip |
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 <ramirose@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/serial')
0 files changed, 0 insertions, 0 deletions