Hi Seevalamuthu, Thank you for the patch! Yet something to improve: [auto build test ERROR on kvalo-ath/ath-next] [also build test ERROR on next-20220111] [cannot apply to v5.16] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Seevalamuthu-Mariappan/ath11k-Add-debugfs-interface-to-configure-firmware-debug-log-level/20220110-134225 base: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath-next config: x86_64-randconfig-c007 (https://download.01.org/0day-ci/archive/20220111/202201112056.3dHmkXvo-lkp@xxxxxxxxx/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 84654f2733f63dc725a7b3d7c55d56849d2d9358) 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 # https://github.com/0day-ci/linux/commit/bde7e10605a2c55ec1c333ad64e0f6e2634f4d4a git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Seevalamuthu-Mariappan/ath11k-Add-debugfs-interface-to-configure-firmware-debug-log-level/20220110-134225 git checkout bde7e10605a2c55ec1c333ad64e0f6e2634f4d4a # save the config file to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): drivers/net/wireless/ath/ath11k/wmi.c: In function 'ath11k_wmi_fw_dbglog_cfg': >> drivers/net/wireless/ath/ath11k/wmi.c:7833:25: error: 'struct ath11k' has no member named 'debug' 7833 | memcpy(tlv->value, &ar->debug.module_id_bitmap, | ^~ drivers/net/wireless/ath/ath11k/wmi.c:7836:13: error: 'struct ath11k' has no member named 'debug' 7836 | memset(&ar->debug.module_id_bitmap, 0, | ^~ vim +7833 drivers/net/wireless/ath/ath11k/wmi.c 7800 7801 int ath11k_wmi_fw_dbglog_cfg(struct ath11k *ar, struct ath11k_fw_dbglog *dbglog) 7802 { 7803 struct ath11k_pdev_wmi *wmi = ar->wmi; 7804 struct wmi_debug_log_config_cmd_fixed_param *cmd; 7805 struct sk_buff *skb; 7806 struct wmi_tlv *tlv; 7807 int ret, len; 7808 7809 len = sizeof(*cmd) + TLV_HDR_SIZE + (MAX_MODULE_ID_BITMAP_WORDS * sizeof(u32)); 7810 skb = ath11k_wmi_alloc_skb(wmi->wmi_ab, len); 7811 if (!skb) 7812 return -ENOMEM; 7813 7814 cmd = (struct wmi_debug_log_config_cmd_fixed_param *)skb->data; 7815 cmd->tlv_header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_DEBUG_LOG_CONFIG_CMD) | 7816 FIELD_PREP(WMI_TLV_LEN, sizeof(*cmd) - TLV_HDR_SIZE); 7817 cmd->dbg_log_param = dbglog->param; 7818 7819 tlv = (struct wmi_tlv *)((u8 *)cmd + sizeof(*cmd)); 7820 tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_UINT32) | 7821 FIELD_PREP(WMI_TLV_LEN, MAX_MODULE_ID_BITMAP_WORDS * sizeof(u32)); 7822 7823 switch (dbglog->param) { 7824 case WMI_DEBUG_LOG_PARAM_LOG_LEVEL: 7825 case WMI_DEBUG_LOG_PARAM_VDEV_ENABLE: 7826 case WMI_DEBUG_LOG_PARAM_VDEV_DISABLE: 7827 case WMI_DEBUG_LOG_PARAM_VDEV_ENABLE_BITMAP: 7828 cmd->value = dbglog->value; 7829 break; 7830 case WMI_DEBUG_LOG_PARAM_MOD_ENABLE_BITMAP: 7831 case WMI_DEBUG_LOG_PARAM_WOW_MOD_ENABLE_BITMAP: 7832 cmd->value = dbglog->value; > 7833 memcpy(tlv->value, &ar->debug.module_id_bitmap, 7834 MAX_MODULE_ID_BITMAP_WORDS * sizeof(u32)); 7835 /* clear current config to be used for next user config */ 7836 memset(&ar->debug.module_id_bitmap, 0, 7837 MAX_MODULE_ID_BITMAP_WORDS * sizeof(u32)); 7838 break; 7839 default: 7840 dev_kfree_skb(skb); 7841 return -EINVAL; 7842 } 7843 7844 ret = ath11k_wmi_cmd_send(wmi, skb, WMI_DBGLOG_CFG_CMDID); 7845 if (ret) { 7846 ath11k_warn(ar->ab, 7847 "failed to send WMI_DBGLOG_CFG_CMDID\n"); 7848 dev_kfree_skb(skb); 7849 } 7850 return ret; 7851 } 7852 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx