From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [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
Date: Mon, 28 Sep 2020 11:16:25 +0800 [thread overview]
Message-ID: <202009281123.PE1Slmys%lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2020-09-28 3:16 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=202009281123.PE1Slmys%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.