[PATCH] ath10k: add QCA9377 chipset support

kbuild test robot lkp at intel.com
Wed Oct 28 04:51:08 PDT 2015


Hi Bartosz,

[auto build test WARNING on next-20151022 -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Bartosz-Markowski/ath10k-add-QCA9377-chipset-support/20151028-192708
config: i386-randconfig-x004-201543 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings

All warnings (new ones prefixed by >>):

   drivers/net/wireless/ath/ath10k/pci.c: In function 'ath10k_pci_probe':
>> drivers/net/wireless/ath/ath10k/pci.c:3040:17: warning: 'pci_ps' may be used uninitialized in this function [-Wmaybe-uninitialized]
     ar_pci->pci_ps = pci_ps;
                    ^

vim +/pci_ps +3040 drivers/net/wireless/ath/ath10k/pci.c

d63955b3 Michal Kazior        2015-01-24  3024  	ar = ath10k_core_create(sizeof(*ar_pci), &pdev->dev, ATH10K_BUS_PCI,
d63955b3 Michal Kazior        2015-01-24  3025  				hw_rev, &ath10k_pci_hif_ops);
2986e3ef Michal Kazior        2014-08-07  3026  	if (!ar) {
7aa7a72a Michal Kazior        2014-08-25  3027  		dev_err(&pdev->dev, "failed to allocate core\n");
2986e3ef Michal Kazior        2014-08-07  3028  		return -ENOMEM;
2986e3ef Michal Kazior        2014-08-07  3029  	}
2986e3ef Michal Kazior        2014-08-07  3030  
0a51b343 Manikanta Pubbisetty 2015-10-09  3031  	ath10k_dbg(ar, ATH10K_DBG_BOOT, "pci probe %04x:%04x %04x:%04x\n",
0a51b343 Manikanta Pubbisetty 2015-10-09  3032  		   pdev->vendor, pdev->device,
0a51b343 Manikanta Pubbisetty 2015-10-09  3033  		   pdev->subsystem_vendor, pdev->subsystem_device);
7aa7a72a Michal Kazior        2014-08-25  3034  
2986e3ef Michal Kazior        2014-08-07  3035  	ar_pci = ath10k_pci_priv(ar);
2986e3ef Michal Kazior        2014-08-07  3036  	ar_pci->pdev = pdev;
2986e3ef Michal Kazior        2014-08-07  3037  	ar_pci->dev = &pdev->dev;
2986e3ef Michal Kazior        2014-08-07  3038  	ar_pci->ar = ar;
36582e5d Michal Kazior        2015-08-13  3039  	ar->dev_id = pci_dev->device;
1aaf8efb Anilkumar Kolli      2015-10-16 @3040  	ar_pci->pci_ps = pci_ps;
5e3dd157 Kalle Valo           2013-06-12  3041  
0a51b343 Manikanta Pubbisetty 2015-10-09  3042  	ar->id.vendor = pdev->vendor;
0a51b343 Manikanta Pubbisetty 2015-10-09  3043  	ar->id.device = pdev->device;
0a51b343 Manikanta Pubbisetty 2015-10-09  3044  	ar->id.subsystem_vendor = pdev->subsystem_vendor;
0a51b343 Manikanta Pubbisetty 2015-10-09  3045  	ar->id.subsystem_device = pdev->subsystem_device;
de57e2c8 Michal Kazior        2015-04-17  3046  
5e3dd157 Kalle Valo           2013-06-12  3047  	spin_lock_init(&ar_pci->ce_lock);
77258d40 Michal Kazior        2015-05-18  3048  	spin_lock_init(&ar_pci->ps_lock);

:::::: The code at line 3040 was first introduced by commit
:::::: 1aaf8efba0aeb25eb5858b19472badaa54a41a38 ath10k: disable PCI PS for QCA988X and QCA99X0

:::::: TO: Anilkumar Kolli <akolli at qti.qualcomm.com>
:::::: CC: Kalle Valo <kvalo at qca.qualcomm.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 27286 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20151028/71251d25/attachment-0001.obj>


More information about the ath10k mailing list