diff options
author | Bing Zhao <bzhao@marvell.com> | 2012-08-07 16:08:08 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-08-10 15:26:59 -0400 |
commit | 8dd4372e2a462081b92b38af18accb427fa2d554 (patch) | |
tree | aa6339f353458d0a26e467cf43e2a53ebd45fd75 /include/linux/bcma | |
parent | 450e9038ee65e3246b2a942669fc79001466f9be (diff) | |
download | op-kernel-dev-8dd4372e2a462081b92b38af18accb427fa2d554.zip op-kernel-dev-8dd4372e2a462081b92b38af18accb427fa2d554.tar.gz |
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')
0 files changed, 0 insertions, 0 deletions