diff options
author | Bing Zhao <bzhao@marvell.com> | 2012-08-08 03:08:08 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-08-10 23:26:59 +0400 |
commit | 8dd4372e2a462081b92b38af18accb427fa2d554 (patch) | |
tree | aa6339f353458d0a26e467cf43e2a53ebd45fd75 /include/linux/bcma/bcma_driver_chipcommon.h | |
parent | 450e9038ee65e3246b2a942669fc79001466f9be (diff) | |
download | linux-8dd4372e2a462081b92b38af18accb427fa2d554.tar.xz |
mwifiex: fix powerpc64-linux- compilation warnings
These warnings can be detected by using powerpc64-linux toolchain
(gcc-4.6.3-nolibc).
CC [M] drivers/net/wireless/mwifiex/sta_event.o
drivers/net/wireless/mwifiex/sta_event.c: In function 'mwifiex_process_sta_event':
drivers/net/wireless/mwifiex/sta_event.c:388:4: warning: comparison of distinct pointer types lacks a cast [enabled by default]
CC [M] drivers/net/wireless/mwifiex/uap_event.o
drivers/net/wireless/mwifiex/uap_event.c: In function 'mwifiex_process_uap_event':
drivers/net/wireless/mwifiex/uap_event.c:258:11: warning: comparison of distinct pointer types lacks a cast [enabled by default]
Use min_t() instead of min() to fix the warnings.
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/bcma/bcma_driver_chipcommon.h')
0 files changed, 0 insertions, 0 deletions