From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [freescale-fslc:pr/362 14893/19261] drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.h:133:20: error: array type has incomplete element type 'struct msix_entry'
Date: Sun, 06 Jun 2021 07:35:05 +0800 [thread overview]
Message-ID: <202106060758.tnNJDJIP-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 25199 bytes --]
Hi Fugang,
FYI, the error/warning still remains.
tree: https://github.com/Freescale/linux-fslc pr/362
head: 12b1d2afd4c518f390918bb57ba788abd690dc09
commit: f186a4e65f54a28973c743f8c007b18c1ce95be6 [14893/19261] MLK-24962 net: wireless: nxp: mxm_wifiex: upgrade to mxm5x16203 release
config: nios2-allyesconfig (attached as .config)
compiler: nios2-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/f186a4e65f54a28973c743f8c007b18c1ce95be6
git remote add freescale-fslc https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc pr/362
git checkout f186a4e65f54a28973c743f8c007b18c1ce95be6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:37:
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.h:133:20: error: array type has incomplete element type 'struct msix_entry'
133 | struct msix_entry msix_entries[PCIE_NUM_MSIX_VECTORS];
| ^~~~~~~~~~~~
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:990:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
990 | 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:2150:6: warning: no previous prototype for 'woal_request_init_user_conf_callback' [-Wmissing-prototypes]
2150 | void woal_request_init_user_conf_callback(const struct firmware *firmware,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:2650:13: warning: no previous prototype for 'woal_add_card_dpc' [-Wmissing-prototypes]
2650 | mlan_status woal_add_card_dpc(moal_handle *handle)
| ^~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:3355:6: warning: no previous prototype for 'woal_fill_mlan_buffer' [-Wmissing-prototypes]
3355 | void woal_fill_mlan_buffer(moal_private *priv, mlan_buffer *pmbuf,
| ^~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:4283:6: warning: no previous prototype for 'woal_flush_evt_queue' [-Wmissing-prototypes]
4283 | void woal_flush_evt_queue(moal_handle *handle)
| ^~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:4866:6: warning: no previous prototype for 'woal_ioctl_timeout' [-Wmissing-prototypes]
4866 | void woal_ioctl_timeout(moal_handle *handle)
| ^~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:5172:6: warning: no previous prototype for 'woal_tcp_ack_timer_func' [-Wmissing-prototypes]
5172 | void woal_tcp_ack_timer_func(void *context)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:5239:6: warning: no previous prototype for 'woal_send_tcp_ack' [-Wmissing-prototypes]
5239 | 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:5296:5: warning: no previous prototype for 'woal_process_tcp_ack' [-Wmissing-prototypes]
5296 | int woal_process_tcp_ack(moal_private *priv, mlan_buffer *pmbuf)
| ^~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:8025:5: warning: no previous prototype for 'woal_netdev_poll_rx' [-Wmissing-prototypes]
8025 | int woal_netdev_poll_rx(struct napi_struct *napi, int budget)
| ^~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:8908:6: warning: no previous prototype for 'woal_pre_reset' [-Wmissing-prototypes]
8908 | void woal_pre_reset(moal_handle *handle)
| ^~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:8926:6: warning: no previous prototype for 'woal_post_reset' [-Wmissing-prototypes]
8926 | void woal_post_reset(moal_handle *handle)
| ^~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c: In function 'woal_request_fw_reload':
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:9019:3: error: implicit declaration of function 'pci_reset_function' [-Werror=implicit-function-declaration]
9019 | pci_reset_function(pdev);
| ^~~~~~~~~~~~~~~~~~
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:9387:3: error: 'mfg_mode' undeclared (first use in this function)
9387 | mfg_mode = 1;
| ^~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_main.c:9387: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: some warnings being treated as errors
--
In file included from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_shim.c:36:
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.h:133:20: error: array type has incomplete element type 'struct msix_entry'
133 | struct msix_entry msix_entries[PCIE_NUM_MSIX_VECTORS];
| ^~~~~~~~~~~~
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:3005:4: warning: function 'moal_print' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
3005 | 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[] = {
| ^~~~~~~~~~~~~~~~~
--
In file included from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:48:
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.h:133:20: error: array type has incomplete element type 'struct msix_entry'
133 | struct msix_entry msix_entries[PCIE_NUM_MSIX_VECTORS];
| ^~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:130:13: warning: no previous prototype for 'parse_arguments' [-Wmissing-prototypes]
130 | mlan_status parse_arguments(t_u8 *pos, int *data, int datalen,
| ^~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:190:5: warning: no previous prototype for 'string2raw' [-Wmissing-prototypes]
190 | int string2raw(unsigned char *str, unsigned char *raw, int raw_size)
| ^~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:293:13: warning: no previous prototype for 'woal_set_miracast_mode' [-Wmissing-prototypes]
293 | mlan_status woal_set_miracast_mode(moal_private *priv, t_u8 *pdata, size_t len)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:341:5: warning: no previous prototype for 'woal_get_priv_driver_version' [-Wmissing-prototypes]
341 | int woal_get_priv_driver_version(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:570:5: warning: no previous prototype for 'woal_priv_customie' [-Wmissing-prototypes]
570 | int woal_priv_customie(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:633:5: warning: no previous prototype for 'woal_setget_priv_bandcfg' [-Wmissing-prototypes]
633 | int woal_setget_priv_bandcfg(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:760:5: warning: no previous prototype for 'woal_setget_priv_httxcfg' [-Wmissing-prototypes]
760 | int woal_setget_priv_httxcfg(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:859:5: warning: no previous prototype for 'woal_setget_priv_htcapinfo' [-Wmissing-prototypes]
859 | int woal_setget_priv_htcapinfo(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:961:5: warning: no previous prototype for 'woal_setget_priv_addbapara' [-Wmissing-prototypes]
961 | int woal_setget_priv_addbapara(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1067:5: warning: no previous prototype for 'woal_priv_delba' [-Wmissing-prototypes]
1067 | int woal_priv_delba(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1163:5: warning: no previous prototype for 'woal_priv_rejectaddbareq' [-Wmissing-prototypes]
1163 | int woal_priv_rejectaddbareq(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1243:13: warning: no previous prototype for 'woal_ioctl_addba_reject' [-Wmissing-prototypes]
1243 | mlan_status woal_ioctl_addba_reject(moal_private *priv, t_u32 action,
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1344:13: warning: no previous prototype for 'woal_ioctl_addba_param' [-Wmissing-prototypes]
1344 | mlan_status woal_ioctl_addba_param(moal_private *priv, t_u32 action,
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1393:5: warning: no previous prototype for 'woal_set_rx_ba_winsize' [-Wmissing-prototypes]
1393 | int woal_set_rx_ba_winsize(moal_private *priv, t_u8 *respbuf, int respbuflen)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1472:5: warning: no previous prototype for 'woal_set_tx_ba_winsize' [-Wmissing-prototypes]
1472 | int woal_set_tx_ba_winsize(moal_private *priv, t_u8 *respbuf, int respbuflen)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1557:5: warning: no previous prototype for 'woal_setget_priv_aggrpriotbl' [-Wmissing-prototypes]
1557 | int woal_setget_priv_aggrpriotbl(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1645:5: warning: no previous prototype for 'woal_setget_priv_addbareject' [-Wmissing-prototypes]
1645 | int woal_setget_priv_addbareject(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1728:5: warning: no previous prototype for 'woal_setget_priv_vhtcfg' [-Wmissing-prototypes]
1728 | int woal_setget_priv_vhtcfg(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1883:5: warning: no previous prototype for 'woal_setget_priv_opermodecfg' [-Wmissing-prototypes]
1883 | int woal_setget_priv_opermodecfg(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:1966:5: warning: no previous prototype for 'woal_get_priv_datarate' [-Wmissing-prototypes]
1966 | int woal_get_priv_datarate(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2016:5: warning: no previous prototype for 'woal_setget_priv_txratecfg' [-Wmissing-prototypes]
2016 | int woal_setget_priv_txratecfg(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c: In function 'woal_get_stats_info':
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2229:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
2229 | int ret = 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:2281:5: warning: no previous prototype for 'woal_get_priv_getlog' [-Wmissing-prototypes]
2281 | int woal_get_priv_getlog(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2321:5: warning: no previous prototype for 'woal_setget_priv_esuppmode' [-Wmissing-prototypes]
2321 | int woal_setget_priv_esuppmode(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2411:5: warning: no previous prototype for 'woal_setget_priv_passphrase' [-Wmissing-prototypes]
2411 | int woal_setget_priv_passphrase(moal_private *priv, t_u8 *respbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2616:5: warning: no previous prototype for 'woal_priv_deauth' [-Wmissing-prototypes]
2616 | int woal_priv_deauth(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2833:5: warning: no previous prototype for 'woal_priv_bssrole' [-Wmissing-prototypes]
2833 | int woal_priv_bssrole(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2914:5: warning: no previous prototype for 'woal_priv_setuserscan' [-Wmissing-prototypes]
2914 | int woal_priv_setuserscan(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2948:5: warning: no previous prototype for 'woal_priv_get_chanstats' [-Wmissing-prototypes]
2948 | int woal_priv_get_chanstats(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:2988:5: warning: no previous prototype for 'moal_ret_get_scan_table_ioctl' [-Wmissing-prototypes]
2988 | int moal_ret_get_scan_table_ioctl(t_u8 *respbuf, t_u32 respbuflen,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:3065:5: warning: no previous prototype for 'woal_priv_getscantable' [-Wmissing-prototypes]
3065 | int woal_priv_getscantable(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_eth_ioctl.c:3126:5: warning: no previous prototype for 'woal_priv_extcapcfg' [-Wmissing-prototypes]
3126 | int woal_priv_extcapcfg(moal_private *priv, t_u8 *respbuf, t_u32 respbuflen)
| ^~~~~~~~~~~~~~~~~~~
--
In file included from drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:31:
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.h:133:20: error: array type has incomplete element type 'struct msix_entry'
133 | struct msix_entry msix_entries[PCIE_NUM_MSIX_VECTORS];
| ^~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:394:5: warning: no previous prototype for 'woal_pcie_probe' [-Wmissing-prototypes]
394 | 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: In function 'woal_pcie_probe':
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:441:6: error: implicit declaration of function 'pci_is_enabled'; did you mean 'pci_acs_enabled'? [-Werror=implicit-function-declaration]
441 | if (pci_is_enabled(pdev))
| ^~~~~~~~~~~~~~
| pci_acs_enabled
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:896:13: warning: no previous prototype for 'woal_pcie_write_data_sync' [-Wmissing-prototypes]
896 | 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:912:13: warning: no previous prototype for 'woal_pcie_read_data_sync' [-Wmissing-prototypes]
912 | 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: In function 'woal_pcie_init':
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1089:8: error: implicit declaration of function 'pci_request_region'; did you mean 'pci_request_regions'? [-Werror=implicit-function-declaration]
1089 | ret = pci_request_region(pdev, 0, DRV_NAME);
| ^~~~~~~~~~~~~~~~~~
| pci_request_regions
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1118:2: error: implicit declaration of function 'pci_release_region'; did you mean 'pci_release_regions'? [-Werror=implicit-function-declaration]
1118 | pci_release_region(pdev, 2);
| ^~~~~~~~~~~~~~~~~~
| pci_release_regions
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c: In function 'woal_pcie_register_dev':
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1174:9: error: implicit declaration of function 'pci_enable_msix_exact' [-Werror=implicit-function-declaration]
1174 | ret = pci_enable_msix_exact(pdev, card->msix_entries, nvec);
| ^~~~~~~~~~~~~~~~~~~~~
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1197:6: error: implicit declaration of function 'pci_disable_msix'; did you mean 'pci_disable_sriov'? [-Werror=implicit-function-declaration]
1197 | pci_disable_msix(pdev);
| ^~~~~~~~~~~~~~~~
| pci_disable_sriov
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1209:9: error: implicit declaration of function 'pci_enable_msi'; did you mean 'pci_enable_ats'? [-Werror=implicit-function-declaration]
1209 | ret = pci_enable_msi(pdev);
| ^~~~~~~~~~~~~~
| pci_enable_ats
>> drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1216:5: error: implicit declaration of function 'pci_disable_msi'; did you mean 'pci_disable_ats'? [-Werror=implicit-function-declaration]
1216 | pci_disable_msi(pdev);
| ^~~~~~~~~~~~~~~
| pci_disable_ats
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:1418:5: warning: no previous prototype for 'woal_pcie_dump_reg_info' [-Wmissing-prototypes]
1418 | int woal_pcie_dump_reg_info(moal_handle *phandle, t_u8 *buffer)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:1752:13: warning: no previous prototype for 'woal_read_reg_eight_bit' [-Wmissing-prototypes]
1752 | 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:1767:13: warning: no previous prototype for 'woal_pcie_rdwr_firmware' [-Wmissing-prototypes]
1767 | rdwr_status woal_pcie_rdwr_firmware(moal_handle *phandle, t_u8 doneflag)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:2013:6: warning: no previous prototype for 'woal_pcie_dump_fw_info_v2' [-Wmissing-prototypes]
2013 | void woal_pcie_dump_fw_info_v2(moal_handle *phandle)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:2192:6: warning: no previous prototype for 'woal_pcie_dump_fw_info' [-Wmissing-prototypes]
2192 | void woal_pcie_dump_fw_info(moal_handle *phandle)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:587:12: warning: 'woal_pcie_resume' defined but not used [-Wunused-function]
587 | static int woal_pcie_resume(struct pci_dev *pdev)
| ^~~~~~~~~~~~~~~~
drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:491:12: warning: 'woal_pcie_suspend' defined but not used [-Wunused-function]
491 | static int woal_pcie_suspend(struct pci_dev *pdev, pm_message_t state)
| ^~~~~~~~~~~~~~~~~
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[] = {
| ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +133 drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlinux/moal_pcie.h
688b67b2c7220b Fugang Duan 2020-04-19 121
688b67b2c7220b Fugang Duan 2020-04-19 122 /** Structure: PCIE service card */
688b67b2c7220b Fugang Duan 2020-04-19 123 typedef struct _pcie_service_card {
688b67b2c7220b Fugang Duan 2020-04-19 124 /** pci_dev structure pointer */
688b67b2c7220b Fugang Duan 2020-04-19 125 struct pci_dev *dev;
688b67b2c7220b Fugang Duan 2020-04-19 126 /** moal_handle structure pointer */
688b67b2c7220b Fugang Duan 2020-04-19 127 moal_handle *handle;
688b67b2c7220b Fugang Duan 2020-04-19 128 /** I/O memory regions pointer to the bus */
688b67b2c7220b Fugang Duan 2020-04-19 129 void __iomem *pci_mmap;
688b67b2c7220b Fugang Duan 2020-04-19 130 /** I/O memory regions pointer to the bus */
688b67b2c7220b Fugang Duan 2020-04-19 131 void __iomem *pci_mmap1;
688b67b2c7220b Fugang Duan 2020-04-19 132 #if defined(PCIE)
688b67b2c7220b Fugang Duan 2020-04-19 @133 struct msix_entry msix_entries[PCIE_NUM_MSIX_VECTORS];
688b67b2c7220b Fugang Duan 2020-04-19 134 msix_context msix_contexts[PCIE_NUM_MSIX_VECTORS];
688b67b2c7220b Fugang Duan 2020-04-19 135 #endif
688b67b2c7220b Fugang Duan 2020-04-19 136 } pcie_service_card, *ppcie_service_card;
688b67b2c7220b Fugang Duan 2020-04-19 137
:::::: The code at line 133 was first introduced by commit
:::::: 688b67b2c7220b01521ffe560da7eee33042c7bd MLK-23806-01 net: wireless: nxp: mxm_wifiex: add initial MxM wifi driver
:::::: TO: Fugang Duan <fugang.duan@nxp.com>
:::::: CC: Fugang Duan <fugang.duan@nxp.com>
---
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: 52401 bytes --]
reply other threads:[~2021-06-05 23:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202106060758.tnNJDJIP-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.