mwifiex/mxm_wifiex/wlan_src/mlinux
Sherry Sun a206d37a93 mxm_wifiex: fix mxm5x17391 release build error and warnings
Rename README_MLAN to README in Makefile, otherwise it will build break
becasue cannot find README_MLAN any more.

Also, fix the following build warnings on ARM32 and ARM64 platforms.
In file included from ./include/linux/kernel.h:29,
                 from /work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_main.h:37,
                 from /work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_cfg80211_util.h:26,
                 from /work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_cfg80211_util.c:23:
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_cfg80211_util.c: In function ‘woal_cfg80211_subcmd_rtt_range_request’:
./include/linux/kern_levels.h:5:25: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘unsigned int’ [-Wformat=]
    5 | #define KERN_SOH        "\001"          /* ASCII Start Of Header */
      |                         ^~~~~~
./include/linux/printk.h:429:25: note: in definition of macro ‘printk_index_wrap’
  429 |                 _p_func(_fmt, ##__VA_ARGS__);                           \
      |                         ^~~~
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_main.h:3167:25: note: in expansion of macro ‘printk’
 3167 |                         printk(KERN_ERR msg);                                  \
      |                         ^~~~~~
./include/linux/kern_levels.h:11:25: note: in expansion of macro ‘KERN_SOH’
   11 | #define KERN_ERR        KERN_SOH "3"    /* error conditions */
      |                         ^~~~~~~~
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_main.h:3167:32: note: in expansion of macro ‘KERN_ERR’
 3167 |                         printk(KERN_ERR msg);                                  \
      |                                ^~~~~~~~
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_main.h:3186:31: note: in expansion of macro ‘PRINTM_MERROR’
 3186 | #define PRINTM(level, msg...) PRINTM_##level(level, msg)
      |                               ^~~~~~~
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_cfg80211_util.c:4351:17: note: in expansion of macro ‘PRINTM’
 4351 |                 PRINTM(MERROR, "%s: invalid %d(total) != %d(num) * %lu(each)\n",
      |                 ^~~~~~

/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_init.c: In function ‘parse_line_read_card_info’:
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_init.c:556:37: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘p + 1’ must not be NULL [-Waddress]
  556 |         if ((p != NULL) && ((p + 1) != NULL)) {
      |                                     ^~

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
2023-04-19 14:56:22 +08:00
..
mlan.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
mlan_decl.h mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
mlan_ieee.h mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
mlan_ioctl.h mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_cfg80211.c mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_cfg80211.h mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_cfg80211_util.c mxm_wifiex: fix mxm5x17391 release build error and warnings 2023-04-19 14:56:22 +08:00
moal_cfg80211_util.h mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_debug.c mxm_wifiex: update to mxm5x17362 release 2022-10-10 15:32:56 +08:00
moal_eth_ioctl.c mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_eth_ioctl.h mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_init.c mxm_wifiex: fix mxm5x17391 release build error and warnings 2023-04-19 14:56:22 +08:00
moal_ioctl.c mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_main.c mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_main.h mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_pcie.c mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_pcie.h mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_priv.c mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_priv.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
moal_proc.c mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_sdio.h mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_sdio_mmc.c mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_shim.c mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_shim.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
moal_sta_cfg80211.c mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_sta_cfg80211.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
moal_uap.c mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_uap.h mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_uap_cfg80211.c mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_uap_cfg80211.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
moal_uap_priv.c mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
moal_uap_priv.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
moal_uap_wext.c mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_usb.c mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_usb.h mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_wext.c mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_wext.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00