Hi Ashok, [auto build test ERROR on ath6kl/ath-next] [also build test ERROR on v4.10-rc6 next-20170130] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Ashok-Raj-Nagarajan/ath10k-add-support-for-controlling-tx-power-to-a-station/20170201-032529 base: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath-next config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers/net/wireless/ath/ath10k/mac.c: In function 'ath10k_sta_set_txpwr': >> drivers/net/wireless/ath/ath10k/mac.c:5997:13: error: 'struct ieee80211_sta' has no member named 'txpwr' txpwr = sta->txpwr; ^~ drivers/net/wireless/ath/ath10k/mac.c: At top level: >> drivers/net/wireless/ath/ath10k/mac.c:7581:2: error: unknown field 'sta_set_txpwr' specified in initializer .sta_set_txpwr = ath10k_sta_set_txpwr, ^ >> drivers/net/wireless/ath/ath10k/mac.c:7581:21: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .sta_set_txpwr = ath10k_sta_set_txpwr, ^~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/ath/ath10k/mac.c:7581:21: note: (near initialization for 'ath10k_ops.sta_pre_rcu_remove') drivers/net/wireless/ath/ath10k/mac.c: In function 'ath10k_mac_register': >> drivers/net/wireless/ath/ath10k/mac.c:8226:11: error: 'NL80211_EXT_FEATURE_STA_TX_PWR' undeclared (first use in this function) NL80211_EXT_FEATURE_STA_TX_PWR); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/ath/ath10k/mac.c:8226:11: note: each undeclared identifier is reported only once for each function it appears in cc1: some warnings being treated as errors vim +5997 drivers/net/wireless/ath/ath10k/mac.c 5991 { 5992 struct ath10k *ar = hw->priv; 5993 struct ath10k_vif *arvif = ath10k_vif_to_arvif(vif); 5994 int ret = 0; 5995 u8 txpwr; 5996 > 5997 txpwr = sta->txpwr; 5998 if (txpwr > ATH10K_TX_POWER_MAX_VAL || txpwr < ATH10K_TX_POWER_MIN_VAL) 5999 return -EINVAL; 6000 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip