devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: AngeloGioacchino Del Regno 
	<angelogioacchino.delregno@somainline.org>,
	bjorn.andersson@linaro.org
Cc: kbuild-all@lists.01.org, agross@kernel.org, robh+dt@kernel.org,
	lgirdwood@gmail.com, broonie@kernel.org,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org,
	konrad.dybcio@somainline.org
Subject: Re: [PATCH v6 4/6] soc: qcom: Add support for Core Power Reduction v3, v4 and Hardened
Date: Thu, 1 Jul 2021 21:52:18 +0800	[thread overview]
Message-ID: <202107012150.Byqhdj7J-lkp@intel.com> (raw)
In-Reply-To: <20210701105441.319572-5-angelogioacchino.delregno@somainline.org>

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

Hi AngeloGioacchino,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on robh/for-next]
[also build test WARNING on linus/master v5.13 next-20210701]
[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/AngeloGioacchino-Del-Regno/Add-support-for-Core-Power-Reduction-v3-v4-and-Hardened/20210701-185521
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.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/2abd8addac7695342f7d6de0c4ceac55dd60ea43
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review AngeloGioacchino-Del-Regno/Add-support-for-Core-Power-Reduction-v3-v4-and-Hardened/20210701-185521
        git checkout 2abd8addac7695342f7d6de0c4ceac55dd60ea43
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/soc/qcom/

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/soc/qcom/cpr3.c:355: warning: Function parameter or member 'tdesc' not described in 'cpr_get_ro_factor'
   drivers/soc/qcom/cpr3.c:355: warning: Function parameter or member 'fnum' not described in 'cpr_get_ro_factor'
   drivers/soc/qcom/cpr3.c:355: warning: Function parameter or member 'ro_idx' not described in 'cpr_get_ro_factor'
   drivers/soc/qcom/cpr3.c:558: warning: Function parameter or member 'drv' not described in 'cpr_set_acc'
   drivers/soc/qcom/cpr3.c:558: warning: Excess function parameter 'thread' description in 'cpr_set_acc'
>> drivers/soc/qcom/cpr3.c:581: warning: expecting prototype for cpr_post_voltage(). Prototype was for cpr_pre_voltage() instead
   drivers/soc/qcom/cpr3.c:1145: warning: Function parameter or member 'ring_osc_factor' not described in 'cpr3_adjust_quot'
   drivers/soc/qcom/cpr3.c:1145: warning: Function parameter or member 'volt_closed_loop' not described in 'cpr3_adjust_quot'
   drivers/soc/qcom/cpr3.c:1145: warning: Excess function parameter 'thread' description in 'cpr3_adjust_quot'


vim +581 drivers/soc/qcom/cpr3.c

   569	
   570	/**
   571	 * cpr_post_voltage() - Actions to execute before setting voltage
   572	 * @thread:     Structure holding CPR thread-specific parameters
   573	 * @dir:        Enumeration for voltage change direction
   574	 * @fuse_level: Fuse corner for mem-acc, if supported.
   575	 *
   576	 * Return: Zero for success or negative number on errors.
   577	 */
   578	static int cpr_pre_voltage(struct cpr_thread *thread,
   579				   enum voltage_change_dir dir,
   580				   int fuse_level)
 > 581	{
   582		struct cpr_drv *drv = thread->drv;
   583	
   584		if (drv->desc->cpr_type == CTRL_TYPE_CPR3 &&
   585		    drv->desc->pd_throttle_val)
   586			cpr_write(thread, CPR3_REG_PD_THROTTLE,
   587				  drv->desc->pd_throttle_val);
   588	
   589		if (drv->tcsr && dir == DOWN)
   590			cpr_set_acc(drv, fuse_level);
   591	
   592		return 0;
   593	}
   594	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 77637 bytes --]

  reply	other threads:[~2021-07-01 13:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-01 10:54 [PATCH v6 0/6] Add support for Core Power Reduction v3, v4 and Hardened AngeloGioacchino Del Regno
2021-07-01 10:54 ` [PATCH v6 1/6] soc: qcom: cpr: Move common functions to new file AngeloGioacchino Del Regno
2021-07-01 17:46   ` kernel test robot
2021-07-01 10:54 ` [PATCH v6 2/6] dt-bindings: avs: cpr: Convert binding to YAML schema AngeloGioacchino Del Regno
2021-07-01 14:02   ` Rob Herring
2021-07-01 10:54 ` [PATCH v6 3/6] arm64: qcom: qcs404: Change CPR nvmem-names AngeloGioacchino Del Regno
2021-07-01 10:54 ` [PATCH v6 4/6] soc: qcom: Add support for Core Power Reduction v3, v4 and Hardened AngeloGioacchino Del Regno
2021-07-01 13:52   ` kernel test robot [this message]
2021-07-01 10:54 ` [PATCH v6 5/6] MAINTAINERS: Add entry for Qualcomm CPRv3/v4/Hardened driver AngeloGioacchino Del Regno
2021-07-01 10:54 ` [PATCH v6 6/6] dt-bindings: soc: qcom: cpr3: Add bindings for CPR3 driver AngeloGioacchino Del Regno
2021-07-01 14:02   ` Rob Herring

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=202107012150.Byqhdj7J-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=agross@kernel.org \
    --cc=angelogioacchino.delregno@somainline.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=konrad.dybcio@somainline.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=phone-devel@vger.kernel.org \
    --cc=robh+dt@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).