From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [ammarfaizi2-block:kvalo/ath/pending 255/273] drivers/net/wireless/ath/ath11k/wmi.c:7833:39: error: 'struct ath11k' has no member named 'debug'
Date: Thu, 13 Jan 2022 02:42:50 +0800 [thread overview]
Message-ID: <202201130245.W7Ps705H-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4093 bytes --]
tree: https://github.com/ammarfaizi2/linux-block kvalo/ath/pending
head: 061c4062835233faef6961a898155015fc5e0631
commit: 3af45eb104584443956572fa9d2a332123816b37 [255/273] ath11k: Add debugfs interface to configure firmware debug log level
config: xtensa-randconfig-r024-20220112 (https://download.01.org/0day-ci/archive/20220113/202201130245.W7Ps705H-lkp(a)intel.com/config)
compiler: xtensa-linux-gcc (GCC) 11.2.0
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/ammarfaizi2/linux-block/commit/3af45eb104584443956572fa9d2a332123816b37
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block kvalo/ath/pending
git checkout 3af45eb104584443956572fa9d2a332123816b37
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=xtensa SHELL=/bin/bash drivers/net/wireless/ath/ath11k/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
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:39: 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:27: 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(a)lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Seevalamuthu Mariappan <quic_seevalam@quicinc.com>
Cc: kbuild-all@lists.01.org, GNU/Weeb Mailing List <gwml@gnuweeb.org>,
linux-kernel@vger.kernel.org, Kalle Valo <quic_kvalo@quicinc.com>
Subject: [ammarfaizi2-block:kvalo/ath/pending 255/273] drivers/net/wireless/ath/ath11k/wmi.c:7833:39: error: 'struct ath11k' has no member named 'debug'
Date: Thu, 13 Jan 2022 02:42:50 +0800 [thread overview]
Message-ID: <202201130245.W7Ps705H-lkp@intel.com> (raw)
tree: https://github.com/ammarfaizi2/linux-block kvalo/ath/pending
head: 061c4062835233faef6961a898155015fc5e0631
commit: 3af45eb104584443956572fa9d2a332123816b37 [255/273] ath11k: Add debugfs interface to configure firmware debug log level
config: xtensa-randconfig-r024-20220112 (https://download.01.org/0day-ci/archive/20220113/202201130245.W7Ps705H-lkp@intel.com/config)
compiler: xtensa-linux-gcc (GCC) 11.2.0
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/ammarfaizi2/linux-block/commit/3af45eb104584443956572fa9d2a332123816b37
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block kvalo/ath/pending
git checkout 3af45eb104584443956572fa9d2a332123816b37
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=xtensa SHELL=/bin/bash drivers/net/wireless/ath/ath11k/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
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:39: 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:27: 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@lists.01.org
next reply other threads:[~2022-01-12 18:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-12 18:42 kernel test robot [this message]
2022-01-12 18:42 ` [ammarfaizi2-block:kvalo/ath/pending 255/273] drivers/net/wireless/ath/ath11k/wmi.c:7833:39: error: 'struct ath11k' has no member named 'debug' kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202201130245.W7Ps705H-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.