diff options
author | Michael Buesch <mb@bu3sch.de> | 2009-02-23 22:52:26 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-27 14:53:03 -0500 |
commit | 53b23b88e4fc70a36f4c9653883582a7c5eede38 (patch) | |
tree | c5f7f0f2c397127749bdd27cc62732a0533e0499 /drivers/net/wireless/b43/phy_g.c | |
parent | 4a332a385a86e31bfe181d969a8cb5579798fe03 (diff) | |
download | kernel_samsung_tuna-53b23b88e4fc70a36f4c9653883582a7c5eede38.zip kernel_samsung_tuna-53b23b88e4fc70a36f4c9653883582a7c5eede38.tar.gz kernel_samsung_tuna-53b23b88e4fc70a36f4c9653883582a7c5eede38.tar.bz2 |
b43: Remove bogus integer truncation warnings
"warning: large integer implicitly truncated to unsigned type"
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/phy_g.c')
-rw-r--r-- | drivers/net/wireless/b43/phy_g.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/phy_g.c b/drivers/net/wireless/b43/phy_g.c index 00bb001..607f17c 100644 --- a/drivers/net/wireless/b43/phy_g.c +++ b/drivers/net/wireless/b43/phy_g.c @@ -971,7 +971,7 @@ b43_radio_interference_mitigation_enable(struct b43_wldev *dev, int mode) b43_phy_maskset(dev, 0x04A2, 0xFFF0, 0x000B); if (phy->rev >= 3) { - b43_phy_mask(dev, 0x048A, ~0x8000); + b43_phy_mask(dev, 0x048A, (u16)~0x8000); b43_phy_maskset(dev, 0x0415, 0x8000, 0x36D8); b43_phy_maskset(dev, 0x0416, 0x8000, 0x36D8); b43_phy_maskset(dev, 0x0417, 0xFE00, 0x016D); |