Re: [PATCHv2 1/4] ath10k: Add support to enable or disable btcoex via nl80211

From: kbuild test robot
Date: Thu Nov 17 2016 - 12:18:28 EST

Hi Tamizh,

[auto build test ERROR on ath6kl/ath-next]
[also build test ERROR on v4.9-rc5 next-20161117]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

base: ath-next
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

>> drivers/net/wireless/ath/ath10k/mac.c:7546:2: error: unknown field 'set_btcoex' specified in initializer
.set_btcoex = ath10k_mac_op_set_btcoex,
>> drivers/net/wireless/ath/ath10k/mac.c:7546:36: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.set_btcoex = ath10k_mac_op_set_btcoex,
drivers/net/wireless/ath/ath10k/mac.c:7546:36: note: (near initialization for 'ath10k_ops.reconfig_complete')
cc1: some warnings being treated as errors

vim +/set_btcoex +7546 drivers/net/wireless/ath/ath10k/mac.c

7540 .add_chanctx = ath10k_mac_op_add_chanctx,
7541 .remove_chanctx = ath10k_mac_op_remove_chanctx,
7542 .change_chanctx = ath10k_mac_op_change_chanctx,
7543 .assign_vif_chanctx = ath10k_mac_op_assign_vif_chanctx,
7544 .unassign_vif_chanctx = ath10k_mac_op_unassign_vif_chanctx,
7545 .switch_vif_chanctx = ath10k_mac_op_switch_vif_chanctx,
> 7546 .set_btcoex = ath10k_mac_op_set_btcoex,
7548 CFG80211_TESTMODE_CMD(ath10k_tm_cmd)

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip