All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [freescale-fslc:5.4-2.3.x-imx 15240/21308] drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:14280:5: sparse: sparse: symbol 'woal_priv_dot11mc_unassoc_ftm_cfg' was not declared. Should it be static?
Date: Tue, 28 Sep 2021 17:57:58 +0800	[thread overview]
Message-ID: <202109281701.R5qYGWaa-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 16488 bytes --]

tree:   https://github.com/Freescale/linux-fslc 5.4-2.3.x-imx
head:   5e2f889a8a3a0b326eb96497906bc7bcb6bcb743
commit: 04b2fa2cd5d3365fe469ac2adcdabd783ee2bd2d [15240/21308] MLK-25013 net: wireless: nxp: mxm_wifiex: upgrade to mxm5x16210 release
config: x86_64-randconfig-s022-20210927 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        # https://github.com/Freescale/linux-fslc/commit/04b2fa2cd5d3365fe469ac2adcdabd783ee2bd2d
        git remote add freescale-fslc https://github.com/Freescale/linux-fslc
        git fetch --no-tags freescale-fslc 5.4-2.3.x-imx
        git checkout 04b2fa2cd5d3365fe469ac2adcdabd783ee2bd2d
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/net/wireless/nxp/mxm_wifiex/wlan_src/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c: note: in included file (through include/uapi/linux/wireless.h, include/linux/wireless.h, ...):
   /usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h:406:9: sparse: sparse: preprocessor token offsetof redefined
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c: note: in included file (through include/uapi/linux/posix_types.h, include/uapi/linux/types.h, include/linux/types.h, ...):
   include/linux/stddef.h:17:9: sparse: this was the original definition
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:190:5: sparse: sparse: symbol 'string2raw' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:293:13: sparse: sparse: symbol 'woal_set_miracast_mode' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:341:5: sparse: sparse: symbol 'woal_get_priv_driver_version' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:652:5: sparse: sparse: symbol 'woal_priv_customie' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:715:5: sparse: sparse: symbol 'woal_setget_priv_bandcfg' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:842:5: sparse: sparse: symbol 'woal_setget_priv_httxcfg' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:941:5: sparse: sparse: symbol 'woal_setget_priv_htcapinfo' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1043:5: sparse: sparse: symbol 'woal_setget_priv_addbapara' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1149:5: sparse: sparse: symbol 'woal_priv_delba' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1245:5: sparse: sparse: symbol 'woal_priv_rejectaddbareq' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1325:13: sparse: sparse: symbol 'woal_ioctl_addba_reject' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1426:13: sparse: sparse: symbol 'woal_ioctl_addba_param' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1475:5: sparse: sparse: symbol 'woal_set_rx_ba_winsize' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1554:5: sparse: sparse: symbol 'woal_set_tx_ba_winsize' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1639:5: sparse: sparse: symbol 'woal_setget_priv_aggrpriotbl' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1727:5: sparse: sparse: symbol 'woal_setget_priv_addbareject' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1810:5: sparse: sparse: symbol 'woal_setget_priv_vhtcfg' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1965:5: sparse: sparse: symbol 'woal_setget_priv_opermodecfg' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2048:5: sparse: sparse: symbol 'woal_get_priv_datarate' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2098:5: sparse: sparse: symbol 'woal_setget_priv_txratecfg' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c: note: in included file (through drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/mlan.h, drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.h):
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/mlan_ioctl.h:2351:22: sparse: sparse: array of flexible structures
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2363:5: sparse: sparse: symbol 'woal_get_priv_getlog' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2403:5: sparse: sparse: symbol 'woal_setget_priv_esuppmode' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2493:5: sparse: sparse: symbol 'woal_setget_priv_passphrase' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2698:5: sparse: sparse: symbol 'woal_priv_deauth' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2915:5: sparse: sparse: symbol 'woal_priv_bssrole' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2996:5: sparse: sparse: symbol 'woal_priv_setuserscan' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:3030:5: sparse: sparse: symbol 'woal_priv_get_chanstats' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:3147:5: sparse: sparse: symbol 'woal_priv_getscantable' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:3208:5: sparse: sparse: symbol 'woal_priv_extcapcfg' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:3284:5: sparse: sparse: symbol 'woal_priv_setgetdeepsleep' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:3358:5: sparse: sparse: symbol 'woal_priv_setgetipaddr' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:3452:5: sparse: sparse: symbol 'woal_priv_setwpssession' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:3520:5: sparse: sparse: symbol 'woal_priv_otpuserdata' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:3590:5: sparse: sparse: symbol 'woal_priv_set_get_countrycode' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:3667:5: sparse: sparse: symbol 'woal_priv_get_cfpinfo' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:3729:5: sparse: sparse: symbol 'woal_priv_setgettcpackenh' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:3793:5: sparse: sparse: symbol 'woal_priv_assocessid' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:3929:5: sparse: sparse: symbol 'woal_priv_getwakeupreason' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:3987:5: sparse: sparse: symbol 'woal_priv_set_get_listeninterval' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:4068:5: sparse: sparse: symbol 'woal_priv_set_get_drvdbg' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:4166:5: sparse: sparse: symbol 'woal_priv_mgmt_filter' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:4243:5: sparse: sparse: symbol 'woal_priv_hscfg' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:4447:5: sparse: sparse: symbol 'woal_priv_hssetpara' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:4495:5: sparse: sparse: symbol 'woal_priv_set_get_scancfg' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:4608:5: sparse: sparse: symbol 'woal_priv_getnlnum' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:4640:5: sparse: sparse: symbol 'woal_priv_set_get_aggrctrl' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:6554:5: sparse: sparse: symbol 'woal_priv_set_get_auto_arp' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:7068:5: sparse: sparse: symbol 'woal_priv_hotspotcfg' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:7135:5: sparse: sparse: symbol 'woal_priv_mgmt_frame_passthru_ctrl' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:7575:5: sparse: sparse: symbol 'woal_priv_macctrl' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:7643:5: sparse: sparse: symbol 'woal_priv_getwap' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:7692:5: sparse: sparse: symbol 'woal_priv_region_code' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:7841:5: sparse: sparse: symbol 'woal_priv_fwmacaddr' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:7907:5: sparse: sparse: symbol 'woal_priv_offchannel' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:8062:5: sparse: sparse: symbol 'woal_priv_set_get_dscp_map' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:8097:5: sparse: sparse: symbol 'woal_priv_get_driver_verext' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:9721:5: sparse: sparse: symbol 'woal_priv_set_get_pmfcfg' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:10509:6: sparse: sparse: symbol 'woal_get_center_freq_idx' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:11096:77: sparse: sparse: incorrect type in assignment (different base types) @@     expected restricted __le16 [usertype] rx_mcs_map @@     got int @@
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:11096:77: sparse:     expected restricted __le16 [usertype] rx_mcs_map
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:11096:77: sparse:     got int
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:11101:77: sparse: sparse: incorrect type in assignment (different base types) @@     expected restricted __le16 [usertype] tx_mcs_map @@     got int @@
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:11101:77: sparse:     expected restricted __le16 [usertype] tx_mcs_map
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:11101:77: sparse:     got int
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:11116:77: sparse: sparse: incorrect type in assignment (different base types) @@     expected restricted __le16 [usertype] rx_mcs_map @@     got int @@
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:11116:77: sparse:     expected restricted __le16 [usertype] rx_mcs_map
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:11116:77: sparse:     got int
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:11121:77: sparse: sparse: incorrect type in assignment (different base types) @@     expected restricted __le16 [usertype] tx_mcs_map @@     got int @@
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:11121:77: sparse:     expected restricted __le16 [usertype] tx_mcs_map
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:11121:77: sparse:     got int
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:12169:24: sparse: sparse: cast from restricted __be16
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:12169:24: sparse: sparse: cast from restricted __be16
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:13035:5: sparse: sparse: symbol 'woal_set_scan_chan_gap' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:14100:5: sparse: sparse: symbol 'woal_priv_rx_abort_cfg' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:14183:5: sparse: sparse: symbol 'woal_priv_rx_abort_cfg_ext' was not declared. Should it be static?
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:14280:5: sparse: sparse: symbol 'woal_priv_dot11mc_unassoc_ftm_cfg' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:14360:5: sparse: sparse: symbol 'woal_priv_tx_ampdu_prot_mode' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:14440:5: sparse: sparse: symbol 'woal_priv_rate_adapt_cfg' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:14546:5: sparse: sparse: symbol 'woal_priv_cck_desense_cfg' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:14758:5: sparse: sparse: symbol 'woal_priv_arbcfg' was not declared. Should it be static?
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:14892:33: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const [noderef] <asn:1> *from @@     got char *[assigned] cmd_buf @@
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:14892:33: sparse:     expected void const [noderef] <asn:1> *from
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:14892:33: sparse:     got char *[assigned] cmd_buf
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:16448:42: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void [noderef] <asn:1> *to @@     got char *[assigned] cmd_buf @@
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:16448:42: sparse:     expected void [noderef] <asn:1> *to
   drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:16448:42: sparse:     got char *[assigned] cmd_buf

Please review and possibly fold the followup patch.

---
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: 38625 bytes --]

             reply	other threads:[~2021-09-28  9:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-28  9:57 kernel test robot [this message]
2021-09-28  9:58 ` [RFC PATCH freescale-fslc] MLK-25013 net: wireless: nxp: mxm_wifiex: woal_priv_dot11mc_unassoc_ftm_cfg() can be static kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202109281701.R5qYGWaa-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.