linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Satya Priya <quic_c_skakit@quicinc.com>,
	Bjorn Andersson <bjorn.andersson@linaro.org>,
	Rob Herring <robh+dt@kernel.org>
Cc: kbuild-all@lists.01.org, Lee Jones <lee.jones@linaro.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, swboyd@chromium.org,
	quic_collinsd@quicinc.com, quic_subbaram@quicinc.com,
	quic_jprakash@quicinc.com,
	Satya Priya <quic_c_skakit@quicinc.com>
Subject: Re: [PATCH V14 7/9] regulator: Add a regulator driver for the PM8008 PMIC
Date: Wed, 8 Jun 2022 09:39:48 +0800	[thread overview]
Message-ID: <202206080910.XAMKbeVH-lkp@intel.com> (raw)
In-Reply-To: <1654602615-28849-8-git-send-email-quic_c_skakit@quicinc.com>

Hi Satya,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on lee-mfd/for-mfd-next]
[also build test WARNING on robh/for-next]
[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/intel-lab-lkp/linux/commits/Satya-Priya/Add-Qualcomm-Technologies-Inc-PM8008-regulator-driver/20220607-195327
base:   https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220608/202206080910.XAMKbeVH-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-1) 11.3.0
reproduce (this is a W=1 build):
        # https://github.com/intel-lab-lkp/linux/commit/11e915cb6368e90fdc4186104c56a3619aa63440
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Satya-Priya/Add-Qualcomm-Technologies-Inc-PM8008-regulator-driver/20220607-195327
        git checkout 11e915cb6368e90fdc4186104c56a3619aa63440
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/regulator/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   drivers/regulator/qcom-pm8008-regulator.c: In function 'pm8008_regulator_get_voltage':
>> drivers/regulator/qcom-pm8008-regulator.c:74:13: warning: unused variable 'rc' [-Wunused-variable]
      74 |         int rc, uV;
         |             ^~


vim +/rc +74 drivers/regulator/qcom-pm8008-regulator.c

    69	
    70	static int pm8008_regulator_get_voltage(struct regulator_dev *rdev)
    71	{
    72		struct pm8008_regulator *pm8008_reg = rdev_get_drvdata(rdev);
    73		__le16 mV;
  > 74		int rc, uV;
    75	
    76		regmap_bulk_read(pm8008_reg->regmap,
    77				LDO_VSET_LB_REG(pm8008_reg->base), (void *)&mV, 2);
    78	
    79		uV = le16_to_cpu(mV) * 1000;
    80		return (uV - pm8008_reg->rdesc.min_uV) / pm8008_reg->rdesc.uV_step;
    81	}
    82	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

  reply	other threads:[~2022-06-08  4:19 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-07 11:50 [PATCH V14 0/9] Add Qualcomm Technologies, Inc. PM8008 regulator driver Satya Priya
2022-06-07 11:50 ` [PATCH V14 1/9] dt-bindings: mfd: pm8008: Add reset-gpios Satya Priya
2022-06-07 11:50 ` [PATCH V14 2/9] dt-bindings: mfd: pm8008: Change the address cells Satya Priya
2022-06-07 11:50 ` [PATCH V14 3/9] dt-bindings: mfd: pm8008: Add regulators for pm8008 Satya Priya
2022-06-07 11:50 ` [PATCH V14 4/9] mfd: pm8008: Add reset-gpios Satya Priya
2022-06-07 11:50 ` [PATCH V14 5/9] mfd: pm8008: Remove the regmap member from pm8008_data struct Satya Priya
2022-06-07 11:50 ` [PATCH V14 6/9] mfd: pm8008: Use i2c_new_dummy_device() API Satya Priya
2022-06-07 11:50 ` [PATCH V14 7/9] regulator: Add a regulator driver for the PM8008 PMIC Satya Priya
2022-06-08  1:39   ` kernel test robot [this message]
2022-06-08 19:42   ` Stephen Boyd
2022-06-09  5:20     ` Satya Priya Kakitapalli (Temp)
2022-06-10 20:45       ` Stephen Boyd
2022-06-07 11:50 ` [PATCH V14 8/9] arm64: dts: qcom: pm8008: Add base dts file Satya Priya
2022-06-07 13:16   ` Luca Weiss
2022-06-09  5:24     ` Satya Priya Kakitapalli (Temp)
2022-06-07 11:50 ` [PATCH V14 9/9] arm64: dts: qcom: sc7280: Add pm8008 support for sc7280-idp Satya Priya

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=202206080910.XAMKbeVH-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bjorn.andersson@linaro.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=lee.jones@linaro.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=quic_c_skakit@quicinc.com \
    --cc=quic_collinsd@quicinc.com \
    --cc=quic_jprakash@quicinc.com \
    --cc=quic_subbaram@quicinc.com \
    --cc=robh+dt@kernel.org \
    --cc=swboyd@chromium.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).