[ath6kl:pending 52/54] drivers/net/wireless/ath/ath10k/wmi-tlv.c:3520:20: error: initialization from incompatible pointer type

kbuild test robot fengguang.wu at intel.com
Thu Oct 6 03:31:13 PDT 2016


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
head:   c093615ffd1c2435a9a64472d83b3b03b86950cf
commit: e5b12b65f5253c4d8d4a3a5552b5a64e8d7d2bb3 [52/54] QCA9984 VHT160 support
config: sparc64-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout e5b12b65f5253c4d8d4a3a5552b5a64e8d7d2bb3
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

All errors (new ones prefixed by >>):

>> drivers/net/wireless/ath/ath10k/wmi-tlv.c:3520:20: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .gen_dbglog_cfg = ath10k_wmi_tlv_op_gen_dbglog_cfg,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/net/wireless/ath/ath10k/wmi-tlv.c:3520:20: note: (near initialization for 'wmi_tlv_ops.gen_dbglog_cfg')
   cc1: some warnings being treated as errors

vim +3520 drivers/net/wireless/ath/ath10k/wmi-tlv.c

ca996ec5 Michal Kazior      2014-12-03  3514  	.gen_scan_chan_list = ath10k_wmi_tlv_op_gen_scan_chan_list,
ca996ec5 Michal Kazior      2014-12-03  3515  	.gen_beacon_dma = ath10k_wmi_tlv_op_gen_beacon_dma,
ca996ec5 Michal Kazior      2014-12-03  3516  	.gen_pdev_set_wmm = ath10k_wmi_tlv_op_gen_pdev_set_wmm,
ca996ec5 Michal Kazior      2014-12-03  3517  	.gen_request_stats = ath10k_wmi_tlv_op_gen_request_stats,
ca996ec5 Michal Kazior      2014-12-03  3518  	.gen_force_fw_hang = ath10k_wmi_tlv_op_gen_force_fw_hang,
ca996ec5 Michal Kazior      2014-12-03  3519  	/* .gen_mgmt_tx = not implemented; HTT is used */
ca996ec5 Michal Kazior      2014-12-03 @3520  	.gen_dbglog_cfg = ath10k_wmi_tlv_op_gen_dbglog_cfg,
ca996ec5 Michal Kazior      2014-12-03  3521  	.gen_pktlog_enable = ath10k_wmi_tlv_op_gen_pktlog_enable,
ca996ec5 Michal Kazior      2014-12-03  3522  	.gen_pktlog_disable = ath10k_wmi_tlv_op_gen_pktlog_disable,
ffdd738d Rajkumar Manoharan 2014-12-17  3523  	/* .gen_pdev_set_quiet_mode not implemented */

:::::: The code at line 3520 was first introduced by commit
:::::: ca996ec5660874edaf7fab6939beaaa9e023d347 ath10k: implement wmi-tlv backend

:::::: TO: Michal Kazior <michal.kazior at tieto.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/gzip
Size: 47150 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20161006/4912f704/attachment-0001.gz>


More information about the ath10k mailing list