linux_old1/drivers/net/wireless/p54
Christian Lamparter 22c5649eef 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>
2012-08-13 15:28:35 -04:00
..
Kconfig p54spi: Update kconfig help text 2011-03-07 13:51:04 -05:00
Makefile
eeprom.c p54: fix powerpc gcc warnings 2012-08-13 15:28:35 -04:00
eeprom.h p54: parse output power table 2012-08-10 15:17:14 -04:00
fwio.c wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
led.c drivers/net/wireless: Restore upper case words in wiphy_<level> messages 2010-08-18 16:37:44 -04:00
lmac.h p54: implement multicast filter 2011-04-26 15:50:30 -04:00
main.c p54: only unregister ieee80211_hw when it has been registered 2012-04-09 16:07:35 -04:00
net2280.h
p54.h p54: only unregister ieee80211_hw when it has been registered 2012-04-09 16:07:35 -04:00
p54pci.c p54pci: convert driver to use asynchronous firmware loading 2012-08-06 14:56:33 -04:00
p54pci.h p54pci: convert driver to use asynchronous firmware loading 2012-08-06 14:56:33 -04:00
p54spi.c p54spi: Release GPIO lines and IRQ on error in p54spi_probe 2012-03-05 15:23:17 -05:00
p54spi.h
p54spi_eeprom.h p54spi: update sample eeprom 2011-02-14 15:52:10 -05:00
p54usb.c USB 3.5-rc1 pull request 2012-05-22 15:50:46 -07:00
p54usb.h p54usb: Load firmware asynchronously 2012-04-09 16:07:35 -04:00
txrx.c mac80211: reduce IEEE80211_TX_MAX_RATES 2012-07-03 13:48:37 +02:00