* [freescale-fslc:pr/317 16/48] drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:5434:5: warning: no previous prototype for 'woal_start_xmit'
@ 2021-04-27 18:22 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-27 18:22 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 32679 bytes --]
tree: https://github.com/Freescale/linux-fslc pr/317
head: cffe4fb95c43405f2fe3ceab81948a12c8769724
commit: 1599bbb243194dd7bb39ec3fbd7b197cdeb540b2 [16/48] MLK-25112: net: wireless: nxp: mxm_wifiex: upgrade to mxm5x16215 release
config: mips-allyesconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/Freescale/linux-fslc/commit/1599bbb243194dd7bb39ec3fbd7b197cdeb540b2
git remote add freescale-fslc https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc pr/317
git checkout 1599bbb243194dd7bb39ec3fbd7b197cdeb540b2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
cc1: warning: /mlan: No such file or directory [-Wmissing-include-dirs]
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c: In function 'woal_get_mode':
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:992:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
992 | int ret = 0;
| ^~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c: At top level:
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:2152:6: warning: no previous prototype for 'woal_request_init_user_conf_callback' [-Wmissing-prototypes]
2152 | void woal_request_init_user_conf_callback(const struct firmware *firmware,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:2652:13: warning: no previous prototype for 'woal_add_card_dpc' [-Wmissing-prototypes]
2652 | mlan_status woal_add_card_dpc(moal_handle *handle)
| ^~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:3362:6: warning: no previous prototype for 'woal_fill_mlan_buffer' [-Wmissing-prototypes]
3362 | void woal_fill_mlan_buffer(moal_private *priv, mlan_buffer *pmbuf,
| ^~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:4291:6: warning: no previous prototype for 'woal_flush_evt_queue' [-Wmissing-prototypes]
4291 | void woal_flush_evt_queue(moal_handle *handle)
| ^~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:4878:6: warning: no previous prototype for 'woal_ioctl_timeout' [-Wmissing-prototypes]
4878 | void woal_ioctl_timeout(moal_handle *handle)
| ^~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:5187:6: warning: no previous prototype for 'woal_tcp_ack_timer_func' [-Wmissing-prototypes]
5187 | void woal_tcp_ack_timer_func(void *context)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:5254:6: warning: no previous prototype for 'woal_send_tcp_ack' [-Wmissing-prototypes]
5254 | void woal_send_tcp_ack(moal_private *priv, struct tcp_sess *tcp_session)
| ^~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:5311:5: warning: no previous prototype for 'woal_process_tcp_ack' [-Wmissing-prototypes]
5311 | int woal_process_tcp_ack(moal_private *priv, mlan_buffer *pmbuf)
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:5434:5: warning: no previous prototype for 'woal_start_xmit' [-Wmissing-prototypes]
5434 | int woal_start_xmit(moal_private *priv, struct sk_buff *skb)
| ^~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:8169:5: warning: no previous prototype for 'woal_netdev_poll_rx' [-Wmissing-prototypes]
8169 | int woal_netdev_poll_rx(struct napi_struct *napi, int budget)
| ^~~~~~~~~~~~~~~~~~~
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:8305:17: warning: no previous prototype for 'woal_skb_dequeue_spinlock' [-Wmissing-prototypes]
8305 | struct sk_buff *woal_skb_dequeue_spinlock(struct sk_buff_head *list)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:8322:8: warning: no previous prototype for 'woal_tx_work_handler' [-Wmissing-prototypes]
8322 | t_void woal_tx_work_handler(struct work_struct *work)
| ^~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:9131:6: warning: no previous prototype for 'woal_pre_reset' [-Wmissing-prototypes]
9131 | void woal_pre_reset(moal_handle *handle)
| ^~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:9149:6: warning: no previous prototype for 'woal_post_reset' [-Wmissing-prototypes]
9149 | void woal_post_reset(moal_handle *handle)
| ^~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c: In function 'mfg_mode_setup':
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:9610:3: error: 'mfg_mode' undeclared (first use in this function)
9610 | mfg_mode = 1;
| ^~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:9610:3: note: each undeclared identifier is reported only once for each function it appears in
In file included from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.h:130,
from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:29:
At top level:
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_priv.h:282:34: warning: 'woal_private_args' defined but not used [-Wunused-const-variable=]
282 | static const struct iw_priv_args woal_private_args[] = {
| ^~~~~~~~~~~~~~~~~
--
cc1: warning: /mlan: No such file or directory [-Wmissing-include-dirs]
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_shim.c:1451:5: warning: no previous prototype for 'woal_check_media_connected' [-Wmissing-prototypes]
1451 | int woal_check_media_connected(t_void *pmoal_handle)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_shim.c:1472:6: warning: no previous prototype for 'moal_connection_status_check_pmqos' [-Wmissing-prototypes]
1472 | void moal_connection_status_check_pmqos(t_void *pmoal_handle)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_shim.c: In function 'moal_print':
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_shim.c:3137:4: warning: function 'moal_print' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
3137 | vprintk(pformat, args);
| ^~~~~~~
In file included from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.h:130,
from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_shim.c:28:
At top level:
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_priv.h:282:34: warning: 'woal_private_args' defined but not used [-Wunused-const-variable=]
282 | static const struct iw_priv_args woal_private_args[] = {
| ^~~~~~~~~~~~~~~~~
--
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:4069:5: warning: no previous prototype for 'woal_priv_set_get_drvdbg' [-Wmissing-prototypes]
4069 | int woal_priv_set_get_drvdbg(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:4167:5: warning: no previous prototype for 'woal_priv_mgmt_filter' [-Wmissing-prototypes]
4167 | int woal_priv_mgmt_filter(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:4244:5: warning: no previous prototype for 'woal_priv_hscfg' [-Wmissing-prototypes]
4244 | int woal_priv_hscfg(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen,
| ^~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:4448:5: warning: no previous prototype for 'woal_priv_hssetpara' [-Wmissing-prototypes]
4448 | int woal_priv_hssetpara(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:4496:5: warning: no previous prototype for 'woal_priv_set_get_scancfg' [-Wmissing-prototypes]
4496 | int woal_priv_set_get_scancfg(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:4609:5: warning: no previous prototype for 'woal_priv_getnlnum' [-Wmissing-prototypes]
4609 | int woal_priv_getnlnum(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:4641:5: warning: no previous prototype for 'woal_priv_set_get_aggrctrl' [-Wmissing-prototypes]
4641 | int woal_priv_set_get_aggrctrl(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:6555:5: warning: no previous prototype for 'woal_priv_set_get_auto_arp' [-Wmissing-prototypes]
6555 | int woal_priv_set_get_auto_arp(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:7069:5: warning: no previous prototype for 'woal_priv_hotspotcfg' [-Wmissing-prototypes]
7069 | int woal_priv_hotspotcfg(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:7136:5: warning: no previous prototype for 'woal_priv_mgmt_frame_passthru_ctrl' [-Wmissing-prototypes]
7136 | int woal_priv_mgmt_frame_passthru_ctrl(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:7576:5: warning: no previous prototype for 'woal_priv_macctrl' [-Wmissing-prototypes]
7576 | int woal_priv_macctrl(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:7644:5: warning: no previous prototype for 'woal_priv_getwap' [-Wmissing-prototypes]
7644 | int woal_priv_getwap(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:7693:5: warning: no previous prototype for 'woal_priv_region_code' [-Wmissing-prototypes]
7693 | int woal_priv_region_code(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:7842:5: warning: no previous prototype for 'woal_priv_fwmacaddr' [-Wmissing-prototypes]
7842 | int woal_priv_fwmacaddr(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:7908:5: warning: no previous prototype for 'woal_priv_offchannel' [-Wmissing-prototypes]
7908 | int woal_priv_offchannel(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:8063:5: warning: no previous prototype for 'woal_priv_set_get_dscp_map' [-Wmissing-prototypes]
8063 | int woal_priv_set_get_dscp_map(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:8098:5: warning: no previous prototype for 'woal_priv_get_driver_verext' [-Wmissing-prototypes]
8098 | int woal_priv_get_driver_verext(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c: In function 'woal_priv_get_signal':
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:9170:6: warning: variable 'buflen' set but not used [-Wunused-but-set-variable]
9170 | int buflen = 0;
| ^~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c: At top level:
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:9722:5: warning: no previous prototype for 'woal_priv_set_get_pmfcfg' [-Wmissing-prototypes]
9722 | int woal_priv_set_get_pmfcfg(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:10519:6: warning: no previous prototype for 'woal_get_center_freq_idx' [-Wmissing-prototypes]
10519 | t_u8 woal_get_center_freq_idx(moal_private *priv, t_u8 band, t_u32 pri_chan,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c: In function 'woal_priv_associate_ssid_bssid':
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:11589:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
11589 | int ret = 0, copy_len = 0;
| ^~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c: In function 'woal_priv_cmd53rdwr':
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:11977:11: warning: variable 'func' set but not used [-Wunused-but-set-variable]
11977 | t_u8 rw, func, mode;
| ^~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c: In function 'woal_priv_11axcfg_cmd':
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:12516:23: warning: variable 'data_ptr' set but not used [-Wunused-but-set-variable]
12516 | mlan_ds_11ax_he_cfg *data_ptr = NULL;
| ^~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c: At top level:
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:13045:5: warning: no previous prototype for 'woal_set_scan_chan_gap' [-Wmissing-prototypes]
13045 | int woal_set_scan_chan_gap(moal_private *priv, t_u8 *respbuf, int respbuflen)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:14110:5: warning: no previous prototype for 'woal_priv_rx_abort_cfg' [-Wmissing-prototypes]
14110 | int woal_priv_rx_abort_cfg(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:14193:5: warning: no previous prototype for 'woal_priv_rx_abort_cfg_ext' [-Wmissing-prototypes]
14193 | int woal_priv_rx_abort_cfg_ext(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:14290:5: warning: no previous prototype for 'woal_priv_dot11mc_unassoc_ftm_cfg' [-Wmissing-prototypes]
14290 | int woal_priv_dot11mc_unassoc_ftm_cfg(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:14370:5: warning: no previous prototype for 'woal_priv_tx_ampdu_prot_mode' [-Wmissing-prototypes]
14370 | int woal_priv_tx_ampdu_prot_mode(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:14450:5: warning: no previous prototype for 'woal_priv_rate_adapt_cfg' [-Wmissing-prototypes]
14450 | int woal_priv_rate_adapt_cfg(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:14556:5: warning: no previous prototype for 'woal_priv_cck_desense_cfg' [-Wmissing-prototypes]
14556 | int woal_priv_cck_desense_cfg(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:14768:5: warning: no previous prototype for 'woal_priv_arbcfg' [-Wmissing-prototypes]
14768 | int woal_priv_arbcfg(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:14923:5: warning: no previous prototype for 'woal_priv_set_tp_state' [-Wmissing-prototypes]
14923 | int woal_priv_set_tp_state(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.h:130,
from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:29:
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_priv.h:282:34: warning: 'woal_private_args' defined but not used [-Wunused-const-variable=]
282 | static const struct iw_priv_args woal_private_args[] = {
| ^~~~~~~~~~~~~~~~~
--
cc1: warning: /mlan: No such file or directory [-Wmissing-include-dirs]
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c: In function 'woal_request_pmqos_busfreq_high':
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:134:6: warning: old-style function definition [-Wold-style-definition]
134 | void woal_request_pmqos_busfreq_high()
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c: In function 'woal_release_pmqos_busfreq_high':
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:147:6: warning: old-style function definition [-Wold-style-definition]
147 | void woal_release_pmqos_busfreq_high()
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c: At top level:
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:427:5: warning: no previous prototype for 'woal_pcie_probe' [-Wmissing-prototypes]
427 | int woal_pcie_probe(struct pci_dev *pdev, const struct pci_device_id *id)
| ^~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:931:13: warning: no previous prototype for 'woal_pcie_write_data_sync' [-Wmissing-prototypes]
931 | mlan_status woal_pcie_write_data_sync(moal_handle *handle, mlan_buffer *pmbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:947:13: warning: no previous prototype for 'woal_pcie_read_data_sync' [-Wmissing-prototypes]
947 | mlan_status woal_pcie_read_data_sync(moal_handle *handle, mlan_buffer *pmbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1441:5: warning: no previous prototype for 'woal_pcie_dump_reg_info' [-Wmissing-prototypes]
1441 | int woal_pcie_dump_reg_info(moal_handle *phandle, t_u8 *buffer)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1776:13: warning: no previous prototype for 'woal_read_reg_eight_bit' [-Wmissing-prototypes]
1776 | mlan_status woal_read_reg_eight_bit(moal_handle *handle, t_u32 reg, t_u8 *data)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1791:13: warning: no previous prototype for 'woal_pcie_rdwr_firmware' [-Wmissing-prototypes]
1791 | rdwr_status woal_pcie_rdwr_firmware(moal_handle *phandle, t_u8 doneflag)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:2044:6: warning: no previous prototype for 'woal_pcie_dump_fw_info_v2' [-Wmissing-prototypes]
2044 | void woal_pcie_dump_fw_info_v2(moal_handle *phandle)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:2235:6: warning: no previous prototype for 'woal_pcie_dump_fw_info' [-Wmissing-prototypes]
2235 | void woal_pcie_dump_fw_info(moal_handle *phandle)
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.h:130,
from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.h:62,
from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:31:
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_priv.h:282:34: warning: 'woal_private_args' defined but not used [-Wunused-const-variable=]
282 | static const struct iw_priv_args woal_private_args[] = {
| ^~~~~~~~~~~~~~~~~
--
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c: In function 'woal_get_mode':
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:992:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
992 | int ret = 0;
| ^~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c: At top level:
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:2152:6: warning: no previous prototype for 'woal_request_init_user_conf_callback' [-Wmissing-prototypes]
2152 | void woal_request_init_user_conf_callback(const struct firmware *firmware,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:2652:13: warning: no previous prototype for 'woal_add_card_dpc' [-Wmissing-prototypes]
2652 | mlan_status woal_add_card_dpc(moal_handle *handle)
| ^~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:3362:6: warning: no previous prototype for 'woal_fill_mlan_buffer' [-Wmissing-prototypes]
3362 | void woal_fill_mlan_buffer(moal_private *priv, mlan_buffer *pmbuf,
| ^~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:4291:6: warning: no previous prototype for 'woal_flush_evt_queue' [-Wmissing-prototypes]
4291 | void woal_flush_evt_queue(moal_handle *handle)
| ^~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:4878:6: warning: no previous prototype for 'woal_ioctl_timeout' [-Wmissing-prototypes]
4878 | void woal_ioctl_timeout(moal_handle *handle)
| ^~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:5187:6: warning: no previous prototype for 'woal_tcp_ack_timer_func' [-Wmissing-prototypes]
5187 | void woal_tcp_ack_timer_func(void *context)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:5254:6: warning: no previous prototype for 'woal_send_tcp_ack' [-Wmissing-prototypes]
5254 | void woal_send_tcp_ack(moal_private *priv, struct tcp_sess *tcp_session)
| ^~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:5311:5: warning: no previous prototype for 'woal_process_tcp_ack' [-Wmissing-prototypes]
5311 | int woal_process_tcp_ack(moal_private *priv, mlan_buffer *pmbuf)
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:5434:5: warning: no previous prototype for 'woal_start_xmit' [-Wmissing-prototypes]
5434 | int woal_start_xmit(moal_private *priv, struct sk_buff *skb)
| ^~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:8169:5: warning: no previous prototype for 'woal_netdev_poll_rx' [-Wmissing-prototypes]
8169 | int woal_netdev_poll_rx(struct napi_struct *napi, int budget)
| ^~~~~~~~~~~~~~~~~~~
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:8305:17: warning: no previous prototype for 'woal_skb_dequeue_spinlock' [-Wmissing-prototypes]
8305 | struct sk_buff *woal_skb_dequeue_spinlock(struct sk_buff_head *list)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:8322:8: warning: no previous prototype for 'woal_tx_work_handler' [-Wmissing-prototypes]
8322 | t_void woal_tx_work_handler(struct work_struct *work)
| ^~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:9131:6: warning: no previous prototype for 'woal_pre_reset' [-Wmissing-prototypes]
9131 | void woal_pre_reset(moal_handle *handle)
| ^~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:9149:6: warning: no previous prototype for 'woal_post_reset' [-Wmissing-prototypes]
9149 | void woal_post_reset(moal_handle *handle)
| ^~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c: In function 'mfg_mode_setup':
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:9610:3: error: 'mfg_mode' undeclared (first use in this function)
9610 | mfg_mode = 1;
| ^~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:9610:3: note: each undeclared identifier is reported only once for each function it appears in
In file included from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.h:130,
from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:29:
At top level:
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_priv.h:282:34: warning: 'woal_private_args' defined but not used [-Wunused-const-variable=]
282 | static const struct iw_priv_args woal_private_args[] = {
| ^~~~~~~~~~~~~~~~~
--
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_shim.c:1451:5: warning: no previous prototype for 'woal_check_media_connected' [-Wmissing-prototypes]
1451 | int woal_check_media_connected(t_void *pmoal_handle)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_shim.c:1472:6: warning: no previous prototype for 'moal_connection_status_check_pmqos' [-Wmissing-prototypes]
1472 | void moal_connection_status_check_pmqos(t_void *pmoal_handle)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_shim.c: In function 'moal_print':
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_shim.c:3137:4: warning: function 'moal_print' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
3137 | vprintk(pformat, args);
| ^~~~~~~
In file included from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.h:130,
from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_shim.c:28:
At top level:
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_priv.h:282:34: warning: 'woal_private_args' defined but not used [-Wunused-const-variable=]
282 | static const struct iw_priv_args woal_private_args[] = {
| ^~~~~~~~~~~~~~~~~
..
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for GPIO_MXC
Depends on GPIOLIB && HAS_IOMEM && ARCH_MXC
Selected by
- GPIO_MXC_PAD_WAKEUP && GPIOLIB && HAS_IOMEM && IMX_SCU
WARNING: unmet direct dependencies detected for PCIE_MOBIVEIL_HOST
Depends on PCI && PCI_MSI_IRQ_DOMAIN
Selected by
- PCIE_MOBIVEIL_PLAT && PCI && (ARCH_ZYNQMP || COMPILE_TEST && OF
vim +/woal_start_xmit +5434 drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c
5425
5426 /**
5427 * @brief This function handles packet transmission
5428 *
5429 * @param skb A pointer to sk_buff structure
5430 * @param dev A pointer to net_device structure
5431 *
5432 * @return 0 --success
5433 */
> 5434 int woal_start_xmit(moal_private *priv, struct sk_buff *skb)
5435 {
5436 mlan_buffer *pmbuf = NULL;
5437 mlan_status status;
5438 struct sk_buff *new_skb = NULL;
5439 #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 29)
5440 t_u32 index = 0;
5441 #endif
5442 int ret = 0;
5443
5444 ENTER();
5445
5446 priv->num_tx_timeout = 0;
5447 if (!skb->len || (skb->len > ETH_FRAME_LEN)) {
5448 PRINTM(MERROR, "Tx Error: Bad skb length %d : %d\n", skb->len,
5449 ETH_FRAME_LEN);
5450 dev_kfree_skb_any(skb);
5451 priv->stats.tx_dropped++;
5452 goto done;
5453 }
5454 if (skb->cloned || (skb_headroom(skb) <
5455 (MLAN_MIN_DATA_HEADER_LEN + sizeof(mlan_buffer) +
5456 priv->extra_tx_head_len))) {
5457 PRINTM(MWARN,
5458 "Tx: skb cloned %d or Insufficient skb headroom %d\n",
5459 skb->cloned, skb_headroom(skb));
5460 /* Insufficient skb headroom - allocate a new skb */
5461 new_skb = skb_realloc_headroom(
5462 skb, MLAN_MIN_DATA_HEADER_LEN + sizeof(mlan_buffer) +
5463 priv->extra_tx_head_len);
5464 if (unlikely(!new_skb)) {
5465 PRINTM(MERROR, "Tx: Cannot allocate skb\n");
5466 dev_kfree_skb_any(skb);
5467 priv->stats.tx_dropped++;
5468 goto done;
5469 }
5470 if (new_skb != skb)
5471 dev_kfree_skb_any(skb);
5472 skb = new_skb;
5473 PRINTM(MINFO, "new skb headroom %d\n", skb_headroom(skb));
5474 }
5475 pmbuf = (mlan_buffer *)skb->head;
5476 memset((t_u8 *)pmbuf, 0, sizeof(mlan_buffer));
5477 pmbuf->bss_index = priv->bss_index;
5478 woal_fill_mlan_buffer(priv, pmbuf, skb);
5479 if (priv->enable_tcp_ack_enh == MTRUE) {
5480 ret = woal_process_tcp_ack(priv, pmbuf);
5481 if (ret)
5482 goto done;
5483 }
5484 #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 29)
5485 index = skb_get_queue_mapping(skb);
5486 #endif
5487
5488 status = mlan_send_packet(priv->phandle->pmlan_adapter, pmbuf);
5489 switch (status) {
5490 case MLAN_STATUS_PENDING:
5491 if (is_zero_timeval(priv->phandle->tx_time_start)) {
5492 priv->phandle->tx_time_start.time_sec =
5493 pmbuf->in_ts_sec;
5494 priv->phandle->tx_time_start.time_usec =
5495 pmbuf->in_ts_usec;
5496 PRINTM(MINFO, "%s : start_timeval=%d:%d \n", __func__,
5497 priv->phandle->tx_time_start.time_sec,
5498 priv->phandle->tx_time_start.time_usec);
5499 }
5500 atomic_inc(&priv->phandle->tx_pending);
5501 #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 29)
5502 atomic_inc(&priv->wmm_tx_pending[index]);
5503 if (atomic_read(&priv->wmm_tx_pending[index]) >=
5504 MAX_TX_PENDING) {
5505 struct netdev_queue *txq =
5506 netdev_get_tx_queue(priv->netdev, index);
5507 netif_tx_stop_queue(txq);
5508 PRINTM(MINFO, "Stop Kernel Queue : %d\n", index);
5509 }
5510 #else
5511 if (atomic_read(&priv->phandle->tx_pending) >= MAX_TX_PENDING)
5512 woal_stop_queue(priv->netdev);
5513 #endif /*#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,29)*/
5514 if (!mlan_is_main_process_running(priv->phandle->pmlan_adapter))
5515 queue_work(priv->phandle->workqueue,
5516 &priv->phandle->main_work);
5517 break;
5518 case MLAN_STATUS_SUCCESS:
5519 priv->stats.tx_packets++;
5520 priv->stats.tx_bytes += skb->len;
5521 dev_kfree_skb_any(skb);
5522 break;
5523 case MLAN_STATUS_FAILURE:
5524 default:
5525 priv->stats.tx_dropped++;
5526 dev_kfree_skb_any(skb);
5527 break;
5528 }
5529 done:
5530 LEAVE();
5531 return 0;
5532 }
5533
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 64510 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-27 18:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-27 18:22 [freescale-fslc:pr/317 16/48] drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:5434:5: warning: no previous prototype for 'woal_start_xmit' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.