ath10k.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [ath6kl:ath11k-qca6390-bringup 18/63] drivers/net/wireless/ath/ath11k/pci.c:69:5: warning: no previous prototype for 'ath11k_pci_init'
@ 2020-05-27 20:17 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-27 20:17 UTC (permalink / raw)
  To: Govind Singh; +Cc: kbuild-all, ath10k, Kalle Valo

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath11k-qca6390-bringup
head:   7f2aca90d49b9d6d85a7d712421e1d02ce4bba2f
commit: a4954db4ddc2c0a427abf7fcc07eec92ff8ae5c2 [18/63] ath11k: Add PCI client driver for QCA6x90 chipset
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 a4954db4ddc2c0a427abf7fcc07eec92ff8ae5c2
        # 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/ath/ath11k/pci.c:69:5: warning: no previous prototype for 'ath11k_pci_init' [-Wmissing-prototypes]
69 | int ath11k_pci_init(void)
|     ^~~~~~~~~~~~~~~
>> drivers/net/wireless/ath/ath11k/pci.c:82:6: warning: no previous prototype for 'ath11k_pci_exit' [-Wmissing-prototypes]
82 | void ath11k_pci_exit(void)
|      ^~~~~~~~~~~~~~~
drivers/net/wireless/ath/ath11k/pci.c: In function 'ath11k_pci_probe':
drivers/net/wireless/ath/ath11k/pci.c:30:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
30 |   hw_rev = ATH11K_HW_QCA6290;
|   ~~~~~~~^~~~~~~~~~~~~~~~~~~
drivers/net/wireless/ath/ath11k/pci.c:31:2: note: here
31 |  case QCA6390_DEVICE_ID:
|  ^~~~
drivers/net/wireless/ath/ath11k/pci.c:51:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
51 |  return ret;
|         ^~~

vim +/ath11k_pci_init +69 drivers/net/wireless/ath/ath11k/pci.c

    68	
  > 69	int ath11k_pci_init(void)
    70	{
    71		int ret;
    72	
    73		ret = pci_register_driver(&ath11k_pci_driver);
    74		if (ret)
    75			pr_err("failed to register ath11k pci driver: %d\n",
    76			       ret);
    77	
    78		return ret;
    79	}
    80	module_init(ath11k_pci_init);
    81	
  > 82	void ath11k_pci_exit(void)
    83	{
    84		pci_unregister_driver(&ath11k_pci_driver);
    85	}
    86	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 57860 bytes --]

[-- Attachment #3: Type: text/plain, Size: 146 bytes --]

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-27 20:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27 20:17 [ath6kl:ath11k-qca6390-bringup 18/63] drivers/net/wireless/ath/ath11k/pci.c:69:5: warning: no previous prototype for 'ath11k_pci_init' kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).