From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-next:master 9370/13554] drivers/net/wireless/realtek/rtw88/pci.c:1579:6: warning: no previous prototype for 'rtw_pci_shutdown'
Date: Fri, 29 May 2020 09:45:43 +0800 [thread overview]
Message-ID: <202005290936.5fYW92cG%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3183 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: ff387fc20c697cdc887b2abf7ef494e853795a2f
commit: ba0fbe236fb8a7b992e82d6eafb03a600f5eba43 [9370/13554] rtw88: extract: make 8822c an individual kernel module
config: ia64-allmodconfig (attached as .config)
compiler: ia64-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
git checkout ba0fbe236fb8a7b992e82d6eafb03a600f5eba43
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
drivers/net/wireless/realtek/rtw88/pci.c:1477:5: warning: no previous prototype for 'rtw_pci_probe' [-Wmissing-prototypes]
1477 | int rtw_pci_probe(struct pci_dev *pdev,
| ^~~~~~~~~~~~~
drivers/net/wireless/realtek/rtw88/pci.c:1557:6: warning: no previous prototype for 'rtw_pci_remove' [-Wmissing-prototypes]
1557 | void rtw_pci_remove(struct pci_dev *pdev)
| ^~~~~~~~~~~~~~
>> drivers/net/wireless/realtek/rtw88/pci.c:1579:6: warning: no previous prototype for 'rtw_pci_shutdown' [-Wmissing-prototypes]
1579 | void rtw_pci_shutdown(struct pci_dev *pdev)
| ^~~~~~~~~~~~~~~~
vim +/rtw_pci_shutdown +1579 drivers/net/wireless/realtek/rtw88/pci.c
e3037485c68ec1 Yan-Hsuan Chuang 2019-04-26 1578
72f256c2b94862 Zong-Zhe Yang 2020-05-15 @1579 void rtw_pci_shutdown(struct pci_dev *pdev)
05202746ed70ea Ping-Ke Shih 2020-05-12 1580 {
05202746ed70ea Ping-Ke Shih 2020-05-12 1581 struct ieee80211_hw *hw = pci_get_drvdata(pdev);
05202746ed70ea Ping-Ke Shih 2020-05-12 1582 struct rtw_dev *rtwdev;
05202746ed70ea Ping-Ke Shih 2020-05-12 1583 struct rtw_chip_info *chip;
05202746ed70ea Ping-Ke Shih 2020-05-12 1584
05202746ed70ea Ping-Ke Shih 2020-05-12 1585 if (!hw)
05202746ed70ea Ping-Ke Shih 2020-05-12 1586 return;
05202746ed70ea Ping-Ke Shih 2020-05-12 1587
05202746ed70ea Ping-Ke Shih 2020-05-12 1588 rtwdev = hw->priv;
05202746ed70ea Ping-Ke Shih 2020-05-12 1589 chip = rtwdev->chip;
05202746ed70ea Ping-Ke Shih 2020-05-12 1590
05202746ed70ea Ping-Ke Shih 2020-05-12 1591 if (chip->ops->shutdown)
05202746ed70ea Ping-Ke Shih 2020-05-12 1592 chip->ops->shutdown(rtwdev);
05202746ed70ea Ping-Ke Shih 2020-05-12 1593 }
72f256c2b94862 Zong-Zhe Yang 2020-05-15 1594 EXPORT_SYMBOL(rtw_pci_shutdown);
05202746ed70ea Ping-Ke Shih 2020-05-12 1595
:::::: The code at line 1579 was first introduced by commit
:::::: 72f256c2b948622cc45ff8bc0456dd6039d8fe36 rtw88: extract: export symbols about pci interface
:::::: TO: Zong-Zhe Yang <kevin_yang@realtek.com>
:::::: CC: Kalle Valo <kvalo@codeaurora.org>
---
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: 57881 bytes --]
next reply other threads:[~2020-05-29 1:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-29 1:45 kbuild test robot [this message]
2020-05-29 2:54 ` [linux-next:master 9370/13554] drivers/net/wireless/realtek/rtw88/pci.c:1579:6: warning: no previous prototype for 'rtw_pci_shutdown' Tony Chuang
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=202005290936.5fYW92cG%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.