* [tglx-devel:softirq 1/35] drivers/net/ethernet/cisco/enic/enic_main.c:2313:2: error: implicit declaration of function 'enic_set_api_state'; did you mean
@ 2020-09-28 3:16 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-09-28 3:16 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2672 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git softirq
head: c3fb03a569c02635e18d74241cce1615f7d15419
commit: 09c0297e9f57009e2ee768afa06b6e43a26adc11 [1/35] net: enic: Cure the enic api locking trainwreck
config: i386-randconfig-r016-20200928 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git/commit/?id=09c0297e9f57009e2ee768afa06b6e43a26adc11
git remote add tglx-devel https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git
git fetch --no-tags tglx-devel softirq
git checkout 09c0297e9f57009e2ee768afa06b6e43a26adc11
# save the attached .config to linux build tree
make W=1 ARCH=i386
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 >>):
drivers/net/ethernet/cisco/enic/enic_main.c: In function 'enic_reset':
>> drivers/net/ethernet/cisco/enic/enic_main.c:2313:2: error: implicit declaration of function 'enic_set_api_state'; did you mean 'enic_set_api_busy'? [-Werror=implicit-function-declaration]
2313 | enic_set_api_state(enic, true);
| ^~~~~~~~~~~~~~~~~~
| enic_set_api_busy
At top level:
drivers/net/ethernet/cisco/enic/enic_main.c:2296:13: warning: 'enic_set_api_busy' defined but not used [-Wunused-function]
2296 | static void enic_set_api_busy(struct enic *enic, bool busy)
| ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +2313 drivers/net/ethernet/cisco/enic/enic_main.c
2302
2303 static void enic_reset(struct work_struct *work)
2304 {
2305 struct enic *enic = container_of(work, struct enic, reset);
2306
2307 if (!netif_running(enic->netdev))
2308 return;
2309
2310 rtnl_lock();
2311
2312 /* Stop any activity from infiniband */
> 2313 enic_set_api_state(enic, true);
2314
2315 enic_stop(enic->netdev);
2316 enic_dev_soft_reset(enic);
2317 enic_reset_addr_lists(enic);
2318 enic_init_vnic_resources(enic);
2319 enic_set_rss_nic_cfg(enic);
2320 enic_dev_set_ig_vlan_rewrite_mode(enic);
2321 enic_open(enic->netdev);
2322
2323 /* Allow infiniband to fiddle with the device again */
2324 enic_set_api_state(enic, false);
2325
2326 call_netdevice_notifiers(NETDEV_REBOOT, enic->netdev);
2327
2328 rtnl_unlock();
2329 }
2330
---
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: 37472 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-28 3:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-28 3:16 [tglx-devel:softirq 1/35] drivers/net/ethernet/cisco/enic/enic_main.c:2313:2: error: implicit declaration of function 'enic_set_api_state'; did you mean 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.