From: kernel test robot <lkp@intel.com>
To: Tzung-Bi Shih <tzungbi@kernel.org>, Ulf Hansson <ulf.hansson@linaro.org>
Cc: oe-kbuild-all@lists.linux.dev,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
linux-pm@vger.kernel.org, linux-mediatek@lists.infradead.org,
tzungbi@kernel.org
Subject: Re: [PATCH] pmdomain: mediatek: Break lock dependency to `prepare_lock`
Date: Tue, 30 Dec 2025 21:35:50 +0800 [thread overview]
Message-ID: <202512302129.BjTBw9E6-lkp@intel.com> (raw)
In-Reply-To: <20251229043244.4103262-1-tzungbi@kernel.org>
Hi Tzung-Bi,
kernel test robot noticed the following build warnings:
[auto build test WARNING on linus/master]
[also build test WARNING on v6.19-rc3 next-20251219]
[cannot apply to amd-pstate/linux-next amd-pstate/bleeding-edge]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Tzung-Bi-Shih/pmdomain-mediatek-Break-lock-dependency-to-prepare_lock/20251229-123525
base: linus/master
patch link: https://lore.kernel.org/r/20251229043244.4103262-1-tzungbi%40kernel.org
patch subject: [PATCH] pmdomain: mediatek: Break lock dependency to `prepare_lock`
config: arm-randconfig-003-20251230 (https://download.01.org/0day-ci/archive/20251230/202512302129.BjTBw9E6-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251230/202512302129.BjTBw9E6-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/202512302129.BjTBw9E6-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/pmdomain/mediatek/mtk-pm-domains.c:1304:12: warning: 'scpsys_resume' defined but not used [-Wunused-function]
1304 | static int scpsys_resume(struct device *dev)
| ^~~~~~~~~~~~~
>> drivers/pmdomain/mediatek/mtk-pm-domains.c:1285:12: warning: 'scpsys_suspend' defined but not used [-Wunused-function]
1285 | static int scpsys_suspend(struct device *dev)
| ^~~~~~~~~~~~~~
vim +/scpsys_resume +1304 drivers/pmdomain/mediatek/mtk-pm-domains.c
1284
> 1285 static int scpsys_suspend(struct device *dev)
1286 {
1287 struct scpsys *scpsys = dev_get_drvdata(dev);
1288 struct generic_pm_domain *genpd;
1289 struct scpsys_domain *pd;
1290 int i;
1291
1292 for (i = 0; i < scpsys->pd_data.num_domains; i++) {
1293 genpd = scpsys->pd_data.domains[i];
1294 if (!genpd)
1295 continue;
1296
1297 pd = to_scpsys_domain(genpd);
1298 clk_bulk_unprepare(pd->num_clks, pd->clks);
1299 clk_bulk_unprepare(pd->num_subsys_clks, pd->subsys_clks);
1300 }
1301 return 0;
1302 }
1303
> 1304 static int scpsys_resume(struct device *dev)
1305 {
1306 struct scpsys *scpsys = dev_get_drvdata(dev);
1307 struct generic_pm_domain *genpd;
1308 struct scpsys_domain *pd;
1309 int i, ret;
1310
1311 for (i = 0; i < scpsys->pd_data.num_domains; i++) {
1312 genpd = scpsys->pd_data.domains[i];
1313 if (!genpd)
1314 continue;
1315
1316 pd = to_scpsys_domain(genpd);
1317 ret = clk_bulk_prepare(pd->num_clks, pd->clks);
1318 if (ret)
1319 return ret;
1320 ret = clk_bulk_prepare(pd->num_subsys_clks, pd->subsys_clks);
1321 if (ret)
1322 return ret;
1323 }
1324 return 0;
1325 }
1326
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2025-12-30 13:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-29 4:32 [PATCH] pmdomain: mediatek: Break lock dependency to `prepare_lock` Tzung-Bi Shih
2025-12-30 13:35 ` 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=202512302129.BjTBw9E6-lkp@intel.com \
--to=lkp@intel.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-pm@vger.kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=tzungbi@kernel.org \
--cc=ulf.hansson@linaro.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).