All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Cheng Wang <quic_chengwan@quicinc.com>, ath11k@lists.infradead.org
Cc: kbuild-all@lists.01.org, linux-wireless@vger.kernel.org,
	quic_chengwan@quicinc.com
Subject: Re: [PATCH v2] ath11k: add support of firmware logging for WCN6855
Date: Sat, 18 Dec 2021 00:29:30 +0800	[thread overview]
Message-ID: <202112180012.UCXm8ASb-lkp@intel.com> (raw)
In-Reply-To: <20211217112605.2823570-1-quic_chengwan@quicinc.com>

Hi Cheng,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on kvalo-ath/ath-next]
[also build test WARNING on next-20211217]
[cannot apply to v5.16-rc5]
[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/Cheng-Wang/ath11k-add-support-of-firmware-logging-for-WCN6855/20211217-192713
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath-next
config: mips-randconfig-r023-20211216 (https://download.01.org/0day-ci/archive/20211218/202112180012.UCXm8ASb-lkp@intel.com/config)
compiler: mips64el-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/0day-ci/linux/commit/3c8528cf3263af58b974c4fdc3a2d3d0ea32bc3c
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Cheng-Wang/ath11k-add-support-of-firmware-logging-for-WCN6855/20211217-192713
        git checkout 3c8528cf3263af58b974c4fdc3a2d3d0ea32bc3c
        # 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=mips 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 warnings (new ones prefixed by >>):

>> drivers/net/wireless/ath/ath11k/qmi.c:2542:5: warning: no previous prototype for 'ath11k_qmi_wlanfw_wlan_ini_send' [-Wmissing-prototypes]
    2542 | int ath11k_qmi_wlanfw_wlan_ini_send(struct ath11k_base *ab, bool enable)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/ath11k_qmi_wlanfw_wlan_ini_send +2542 drivers/net/wireless/ath/ath11k/qmi.c

  2541	
> 2542	int ath11k_qmi_wlanfw_wlan_ini_send(struct ath11k_base *ab, bool enable)
  2543	{
  2544		int ret;
  2545		struct qmi_txn txn;
  2546		struct qmi_wlanfw_wlan_ini_req_msg_v01 req = {};
  2547		struct qmi_wlanfw_wlan_ini_resp_msg_v01 resp = {};
  2548	
  2549		req.enablefwlog_valid = true;
  2550		req.enablefwlog = enable ? 1 : 0;
  2551	
  2552		ret = qmi_txn_init(&ab->qmi.handle, &txn,
  2553				   qmi_wlanfw_wlan_ini_resp_msg_v01_ei, &resp);
  2554		if (ret < 0)
  2555			goto out;
  2556	
  2557		ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
  2558				       QMI_WLANFW_WLAN_INI_REQ_V01,
  2559				       QMI_WLANFW_WLAN_INI_REQ_MSG_V01_MAX_LEN,
  2560				       qmi_wlanfw_wlan_ini_req_msg_v01_ei, &req);
  2561		if (ret < 0) {
  2562			ath11k_warn(ab, "qmi failed to send wlan ini request, err = %d\n",
  2563				    ret);
  2564			qmi_txn_cancel(&txn);
  2565			goto out;
  2566		}
  2567	
  2568		ret = qmi_txn_wait(&txn, msecs_to_jiffies(ATH11K_QMI_WLANFW_TIMEOUT_MS));
  2569		if (ret < 0) {
  2570			ath11k_warn(ab, "qmi failed wlan ini request, err = %d\n", ret);
  2571			goto out;
  2572		}
  2573	
  2574		if (resp.resp.result != QMI_RESULT_SUCCESS_V01) {
  2575			ath11k_warn(ab, "qmi wlan ini request failed, result: %d, err: %d\n",
  2576				    resp.resp.result, resp.resp.error);
  2577			ret = -EINVAL;
  2578		}
  2579	
  2580	out:
  2581		return ret;
  2582	}
  2583	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Cheng Wang <quic_chengwan@quicinc.com>, ath11k@lists.infradead.org
Cc: kbuild-all@lists.01.org, linux-wireless@vger.kernel.org,
	quic_chengwan@quicinc.com
Subject: Re: [PATCH v2] ath11k: add support of firmware logging for WCN6855
Date: Sat, 18 Dec 2021 00:29:30 +0800	[thread overview]
Message-ID: <202112180012.UCXm8ASb-lkp@intel.com> (raw)
In-Reply-To: <20211217112605.2823570-1-quic_chengwan@quicinc.com>

Hi Cheng,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on kvalo-ath/ath-next]
[also build test WARNING on next-20211217]
[cannot apply to v5.16-rc5]
[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/Cheng-Wang/ath11k-add-support-of-firmware-logging-for-WCN6855/20211217-192713
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath-next
config: mips-randconfig-r023-20211216 (https://download.01.org/0day-ci/archive/20211218/202112180012.UCXm8ASb-lkp@intel.com/config)
compiler: mips64el-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/0day-ci/linux/commit/3c8528cf3263af58b974c4fdc3a2d3d0ea32bc3c
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Cheng-Wang/ath11k-add-support-of-firmware-logging-for-WCN6855/20211217-192713
        git checkout 3c8528cf3263af58b974c4fdc3a2d3d0ea32bc3c
        # 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=mips 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 warnings (new ones prefixed by >>):

>> drivers/net/wireless/ath/ath11k/qmi.c:2542:5: warning: no previous prototype for 'ath11k_qmi_wlanfw_wlan_ini_send' [-Wmissing-prototypes]
    2542 | int ath11k_qmi_wlanfw_wlan_ini_send(struct ath11k_base *ab, bool enable)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/ath11k_qmi_wlanfw_wlan_ini_send +2542 drivers/net/wireless/ath/ath11k/qmi.c

  2541	
> 2542	int ath11k_qmi_wlanfw_wlan_ini_send(struct ath11k_base *ab, bool enable)
  2543	{
  2544		int ret;
  2545		struct qmi_txn txn;
  2546		struct qmi_wlanfw_wlan_ini_req_msg_v01 req = {};
  2547		struct qmi_wlanfw_wlan_ini_resp_msg_v01 resp = {};
  2548	
  2549		req.enablefwlog_valid = true;
  2550		req.enablefwlog = enable ? 1 : 0;
  2551	
  2552		ret = qmi_txn_init(&ab->qmi.handle, &txn,
  2553				   qmi_wlanfw_wlan_ini_resp_msg_v01_ei, &resp);
  2554		if (ret < 0)
  2555			goto out;
  2556	
  2557		ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
  2558				       QMI_WLANFW_WLAN_INI_REQ_V01,
  2559				       QMI_WLANFW_WLAN_INI_REQ_MSG_V01_MAX_LEN,
  2560				       qmi_wlanfw_wlan_ini_req_msg_v01_ei, &req);
  2561		if (ret < 0) {
  2562			ath11k_warn(ab, "qmi failed to send wlan ini request, err = %d\n",
  2563				    ret);
  2564			qmi_txn_cancel(&txn);
  2565			goto out;
  2566		}
  2567	
  2568		ret = qmi_txn_wait(&txn, msecs_to_jiffies(ATH11K_QMI_WLANFW_TIMEOUT_MS));
  2569		if (ret < 0) {
  2570			ath11k_warn(ab, "qmi failed wlan ini request, err = %d\n", ret);
  2571			goto out;
  2572		}
  2573	
  2574		if (resp.resp.result != QMI_RESULT_SUCCESS_V01) {
  2575			ath11k_warn(ab, "qmi wlan ini request failed, result: %d, err: %d\n",
  2576				    resp.resp.result, resp.resp.error);
  2577			ret = -EINVAL;
  2578		}
  2579	
  2580	out:
  2581		return ret;
  2582	}
  2583	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v2] ath11k: add support of firmware logging for WCN6855
Date: Sat, 18 Dec 2021 00:29:30 +0800	[thread overview]
Message-ID: <202112180012.UCXm8ASb-lkp@intel.com> (raw)
In-Reply-To: <20211217112605.2823570-1-quic_chengwan@quicinc.com>

[-- Attachment #1: Type: text/plain, Size: 3608 bytes --]

Hi Cheng,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on kvalo-ath/ath-next]
[also build test WARNING on next-20211217]
[cannot apply to v5.16-rc5]
[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/Cheng-Wang/ath11k-add-support-of-firmware-logging-for-WCN6855/20211217-192713
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath-next
config: mips-randconfig-r023-20211216 (https://download.01.org/0day-ci/archive/20211218/202112180012.UCXm8ASb-lkp(a)intel.com/config)
compiler: mips64el-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/0day-ci/linux/commit/3c8528cf3263af58b974c4fdc3a2d3d0ea32bc3c
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Cheng-Wang/ath11k-add-support-of-firmware-logging-for-WCN6855/20211217-192713
        git checkout 3c8528cf3263af58b974c4fdc3a2d3d0ea32bc3c
        # 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=mips 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 warnings (new ones prefixed by >>):

>> drivers/net/wireless/ath/ath11k/qmi.c:2542:5: warning: no previous prototype for 'ath11k_qmi_wlanfw_wlan_ini_send' [-Wmissing-prototypes]
    2542 | int ath11k_qmi_wlanfw_wlan_ini_send(struct ath11k_base *ab, bool enable)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/ath11k_qmi_wlanfw_wlan_ini_send +2542 drivers/net/wireless/ath/ath11k/qmi.c

  2541	
> 2542	int ath11k_qmi_wlanfw_wlan_ini_send(struct ath11k_base *ab, bool enable)
  2543	{
  2544		int ret;
  2545		struct qmi_txn txn;
  2546		struct qmi_wlanfw_wlan_ini_req_msg_v01 req = {};
  2547		struct qmi_wlanfw_wlan_ini_resp_msg_v01 resp = {};
  2548	
  2549		req.enablefwlog_valid = true;
  2550		req.enablefwlog = enable ? 1 : 0;
  2551	
  2552		ret = qmi_txn_init(&ab->qmi.handle, &txn,
  2553				   qmi_wlanfw_wlan_ini_resp_msg_v01_ei, &resp);
  2554		if (ret < 0)
  2555			goto out;
  2556	
  2557		ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
  2558				       QMI_WLANFW_WLAN_INI_REQ_V01,
  2559				       QMI_WLANFW_WLAN_INI_REQ_MSG_V01_MAX_LEN,
  2560				       qmi_wlanfw_wlan_ini_req_msg_v01_ei, &req);
  2561		if (ret < 0) {
  2562			ath11k_warn(ab, "qmi failed to send wlan ini request, err = %d\n",
  2563				    ret);
  2564			qmi_txn_cancel(&txn);
  2565			goto out;
  2566		}
  2567	
  2568		ret = qmi_txn_wait(&txn, msecs_to_jiffies(ATH11K_QMI_WLANFW_TIMEOUT_MS));
  2569		if (ret < 0) {
  2570			ath11k_warn(ab, "qmi failed wlan ini request, err = %d\n", ret);
  2571			goto out;
  2572		}
  2573	
  2574		if (resp.resp.result != QMI_RESULT_SUCCESS_V01) {
  2575			ath11k_warn(ab, "qmi wlan ini request failed, result: %d, err: %d\n",
  2576				    resp.resp.result, resp.resp.error);
  2577			ret = -EINVAL;
  2578		}
  2579	
  2580	out:
  2581		return ret;
  2582	}
  2583	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

  reply	other threads:[~2021-12-17 17:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-17 11:26 [PATCH v2] ath11k: add support of firmware logging for WCN6855 Cheng Wang
2021-12-17 11:26 ` Cheng Wang
2021-12-17 16:29 ` kernel test robot [this message]
2021-12-17 16:29   ` kernel test robot
2021-12-17 16:29   ` 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=202112180012.UCXm8ASb-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ath11k@lists.infradead.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=quic_chengwan@quicinc.com \
    /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.