From: kernel test robot <lkp@intel.com>
To: Jishnu Prakash <jishnu.prakash@oss.qualcomm.com>,
Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
David Collins <david.collins@oss.qualcomm.com>,
konrad.dybcio@oss.qualcomm.com
Cc: oe-kbuild-all@lists.linux.dev, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
Jishnu Prakash <jishnu.prakash@oss.qualcomm.com>,
kamal.wadhwa@oss.qualcomm.com, aiqun.yu@oss.qualcomm.com
Subject: Re: [PATCH v4 3/3] spmi: spmi-pmic-arb: add support for PMIC arbiter v8
Date: Tue, 25 Nov 2025 19:45:02 +0800 [thread overview]
Message-ID: <202511251730.R2wx1j01-lkp@intel.com> (raw)
In-Reply-To: <20251124-pmic_arb_v8-v4-3-d91dcbf097c7@oss.qualcomm.com>
Hi Jishnu,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 6a23ae0a96a600d1d12557add110e0bb6e32730c]
url: https://github.com/intel-lab-lkp/linux/commits/Jishnu-Prakash/dt-bindings-spmi-split-out-common-QCOM-SPMI-PMIC-arbiter-properties/20251124-175115
base: 6a23ae0a96a600d1d12557add110e0bb6e32730c
patch link: https://lore.kernel.org/r/20251124-pmic_arb_v8-v4-3-d91dcbf097c7%40oss.qualcomm.com
patch subject: [PATCH v4 3/3] spmi: spmi-pmic-arb: add support for PMIC arbiter v8
config: loongarch-randconfig-002-20251125 (https://download.01.org/0day-ci/archive/20251125/202511251730.R2wx1j01-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 12.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251125/202511251730.R2wx1j01-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511251730.R2wx1j01-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/spmi/spmi-pmic-arb.c: In function '_pmic_arb_init_apid_v7':
>> drivers/spmi/spmi-pmic-arb.c:1391:13: warning: unused variable 'ret' [-Wunused-variable]
1391 | int ret, i;
| ^~~
vim +/ret +1391 drivers/spmi/spmi-pmic-arb.c
1386
1387 static int _pmic_arb_init_apid_v7(struct spmi_pmic_arb_bus *bus, int index,
1388 int max_buses, unsigned long periph_mask)
1389 {
1390 struct spmi_pmic_arb *pmic_arb = bus->pmic_arb;
> 1391 int ret, i;
1392
1393 if (index < 0 || index >= max_buses) {
1394 dev_err(&bus->spmic->dev, "Unsupported bus index %d detected\n",
1395 index);
1396 return -EINVAL;
1397 }
1398
1399 bus->base_apid = 0;
1400 bus->apid_count = 0;
1401 for (i = 0; i <= index; i++) {
1402 bus->base_apid += bus->apid_count;
1403 bus->apid_count = readl_relaxed(pmic_arb->core +
1404 PMIC_ARB_FEATURES + i * 4) &
1405 periph_mask;
1406 }
1407
1408 if (bus->apid_count == 0) {
1409 dev_err(&bus->spmic->dev, "Bus %d not implemented\n", index);
1410 return -EINVAL;
1411 } else if (bus->base_apid + bus->apid_count > pmic_arb->max_periphs) {
1412 dev_err(&bus->spmic->dev, "Unsupported max APID %d detected\n",
1413 bus->base_apid + bus->apid_count);
1414 return -EINVAL;
1415 }
1416
1417 return pmic_arb_init_apid_min_max(bus);
1418 }
1419
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2025-11-25 11:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-24 9:45 [PATCH v4 0/3] spmi-pmic-arb: Add support for PMIC arbiter v8 for Glymur and Kaanapali Jishnu Prakash
2025-11-24 9:45 ` [PATCH v4 1/3] dt-bindings: spmi: split out common QCOM SPMI PMIC arbiter properties Jishnu Prakash
2025-11-24 9:45 ` [PATCH v4 2/3] dt-bindings: spmi: add support for glymur-spmi-pmic-arb (arbiter v8) Jishnu Prakash
2025-11-24 9:45 ` [PATCH v4 3/3] spmi: spmi-pmic-arb: add support for PMIC arbiter v8 Jishnu Prakash
2025-11-25 11:45 ` kernel test robot [this message]
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=202511251730.R2wx1j01-lkp@intel.com \
--to=lkp@intel.com \
--cc=aiqun.yu@oss.qualcomm.com \
--cc=conor+dt@kernel.org \
--cc=david.collins@oss.qualcomm.com \
--cc=devicetree@vger.kernel.org \
--cc=jishnu.prakash@oss.qualcomm.com \
--cc=kamal.wadhwa@oss.qualcomm.com \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=krzk@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robh@kernel.org \
--cc=sboyd@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
all inboxes | Powered by JetHome®