summaryrefslogtreecommitdiffstats
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2012-08-11 13:09:20 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-08-13 21:28:35 +0200
commit22c5649eef0fc37532e20c14d2656b28ca708a69 (patch)
tree6e9a5d247dcffff5e9286065de27c0169cb672b8 /net/mac80211/iface.c
parentmac80211: fix unnecessary beacon update after peering status change (diff)
downloadlinux-22c5649eef0fc37532e20c14d2656b28ca708a69.tar.xz
linux-22c5649eef0fc37532e20c14d2656b28ca708a69.zip
p54: fix powerpc gcc warnings
My commit "p54: parse output power table" introduced the following compiler warnings for powerpc-allmodconfig eeprom.c: In function 'p54_get_maxpower': eeprom.c:291 warning: comparison of distinct pointer types lacks a cast eeporm.c:292 warning: comparison of distinct pointer types lacks a cast eeprom.c:293 warning: comparison of distinct pointer types lacks a cast eeprom.c:294 warning: comparison of distinct pointer types lacks a cast This patch fixes those by using max_t(u16 which forces a type cast. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Tested-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/iface.c')
0 files changed, 0 insertions, 0 deletions