From: kernel test robot <lkp@intel.com>
To: Zihuan Zhang <zhangzihuan@kylinos.cn>,
"Rafael J . wysocki" <rafael@kernel.org>,
Viresh Kumar <viresh.kumar@linaro.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>, Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>,
Michael Ellerman <mpe@ellerman.id.au>,
Krzysztof Kozlowski <krzk@kernel.org>,
Alim Akhtar <alim.akhtar@samsung.com>,
Thierry Reding <thierry.reding@gmail.com>,
MyungJoo Ham <myungjoo.ham@samsung.com>,
Kyungmin Park <kyungmin.park@samsung.com>,
Chanwoo Choi <cw00.choi@samsung.com>,
Jani Nikula <jani.nikula@linux.intel.com>,
Rodrigo Vivi <rodrigo.vivi@intel.com>,
Tvrtko Ursulin <tursulin@ursulin.net>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Daniel Lezcano <daniel.lezcano@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Shawn Guo <shawnguo@kernel.org>,
Eduardo Valentin <edubezval@gmail.com>,
Keerthy <j-keerthy@ti.com>
Cc: oe-kbuild-all@lists.linux.dev, Ben Horgan <ben.horgan@arm.com>,
zhenglifeng <zhenglifeng1@huawei.com>,
Zhang Rui <rui.zhang@intel.com>, Len Brown <lenb@kernel.org>,
Lukasz Luba <lukasz.luba@arm.com>,
Pengutronix Kernel Team <kernel@pengutronix.de>
Subject: Re: [PATCH v3 11/12] thermal/drivers/ti-soc-thermal: Use scope-based cleanup helper
Date: Tue, 2 Sep 2025 14:19:26 +0800 [thread overview]
Message-ID: <202509021413.NLo9zuEp-lkp@intel.com> (raw)
In-Reply-To: <20250901085748.36795-12-zhangzihuan@kylinos.cn>
Hi Zihuan,
kernel test robot noticed the following build errors:
[auto build test ERROR on rafael-pm/linux-next]
[also build test ERROR on rafael-pm/bleeding-edge rafael-pm/thermal arm64/for-next/core linus/master v6.17-rc4 next-20250901]
[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/Zihuan-Zhang/arm64-topology-Use-scope-based-cleanup-helper/20250901-170106
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
patch link: https://lore.kernel.org/r/20250901085748.36795-12-zhangzihuan%40kylinos.cn
patch subject: [PATCH v3 11/12] thermal/drivers/ti-soc-thermal: Use scope-based cleanup helper
config: mips-randconfig-r073-20250902 (https://download.01.org/0day-ci/archive/20250902/202509021413.NLo9zuEp-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 2e122990391b2ba062e6308a12cfedf7206270ba)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250902/202509021413.NLo9zuEp-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/202509021413.NLo9zuEp-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/thermal/ti-soc-thermal/ti-thermal-common.c:243:50: error: no member named 'policy' in 'struct ti_thermal_data'
243 | data->cool_dev = cpufreq_cooling_register(data->policy);
| ~~~~ ^
1 error generated.
vim +243 drivers/thermal/ti-soc-thermal/ti-thermal-common.c
445eaf871bf94e drivers/staging/omap-thermal/omap-thermal-common.c Eduardo Valentin 2012-07-12 215
03e859d344267c drivers/staging/ti-soc-thermal/ti-thermal-common.c Eduardo Valentin 2013-03-19 216 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id)
445eaf871bf94e drivers/staging/omap-thermal/omap-thermal-common.c Eduardo Valentin 2012-07-12 217 {
03e859d344267c drivers/staging/ti-soc-thermal/ti-thermal-common.c Eduardo Valentin 2013-03-19 218 struct ti_thermal_data *data;
26d9cc65fa769d drivers/thermal/ti-soc-thermal/ti-thermal-common.c Eduardo Valentin 2013-07-04 219 struct device_node *np = bgp->dev->of_node;
01d493f192a73c drivers/thermal/ti-soc-thermal/ti-thermal-common.c Zihuan Zhang 2025-09-01 220 struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(0);
26d9cc65fa769d drivers/thermal/ti-soc-thermal/ti-thermal-common.c Eduardo Valentin 2013-07-04 221
26d9cc65fa769d drivers/thermal/ti-soc-thermal/ti-thermal-common.c Eduardo Valentin 2013-07-04 222 /*
26d9cc65fa769d drivers/thermal/ti-soc-thermal/ti-thermal-common.c Eduardo Valentin 2013-07-04 223 * We are assuming here that if one deploys the zone
26d9cc65fa769d drivers/thermal/ti-soc-thermal/ti-thermal-common.c Eduardo Valentin 2013-07-04 224 * using DT, then it must be aware that the cooling device
26d9cc65fa769d drivers/thermal/ti-soc-thermal/ti-thermal-common.c Eduardo Valentin 2013-07-04 225 * loading has to happen via cpufreq driver.
26d9cc65fa769d drivers/thermal/ti-soc-thermal/ti-thermal-common.c Eduardo Valentin 2013-07-04 226 */
86df7d19083c66 drivers/thermal/ti-soc-thermal/ti-thermal-common.c Rob Herring 2023-03-10 227 if (of_property_present(np, "#thermal-sensor-cells"))
26d9cc65fa769d drivers/thermal/ti-soc-thermal/ti-thermal-common.c Eduardo Valentin 2013-07-04 228 return 0;
445eaf871bf94e drivers/staging/omap-thermal/omap-thermal-common.c Eduardo Valentin 2012-07-12 229
03e859d344267c drivers/staging/ti-soc-thermal/ti-thermal-common.c Eduardo Valentin 2013-03-19 230 data = ti_bandgap_get_sensor_data(bgp, id);
0c12b5ac82fbae drivers/thermal/ti-soc-thermal/ti-thermal-common.c Eduardo Valentin 2013-05-29 231 if (!data || IS_ERR(data))
03e859d344267c drivers/staging/ti-soc-thermal/ti-thermal-common.c Eduardo Valentin 2013-03-19 232 data = ti_thermal_build_data(bgp, id);
04a4d10d07b101 drivers/staging/omap-thermal/omap-thermal-common.c Eduardo Valentin 2012-09-11 233
04a4d10d07b101 drivers/staging/omap-thermal/omap-thermal-common.c Eduardo Valentin 2012-09-11 234 if (!data)
04a4d10d07b101 drivers/staging/omap-thermal/omap-thermal-common.c Eduardo Valentin 2012-09-11 235 return -EINVAL;
445eaf871bf94e drivers/staging/omap-thermal/omap-thermal-common.c Eduardo Valentin 2012-07-12 236
01d493f192a73c drivers/thermal/ti-soc-thermal/ti-thermal-common.c Zihuan Zhang 2025-09-01 237 if (!policy) {
4d753aa7b6279e drivers/thermal/ti-soc-thermal/ti-thermal-common.c Viresh Kumar 2017-04-25 238 pr_debug("%s: CPUFreq policy not found\n", __func__);
4d753aa7b6279e drivers/thermal/ti-soc-thermal/ti-thermal-common.c Viresh Kumar 2017-04-25 239 return -EPROBE_DEFER;
4d753aa7b6279e drivers/thermal/ti-soc-thermal/ti-thermal-common.c Viresh Kumar 2017-04-25 240 }
4d753aa7b6279e drivers/thermal/ti-soc-thermal/ti-thermal-common.c Viresh Kumar 2017-04-25 241
445eaf871bf94e drivers/staging/omap-thermal/omap-thermal-common.c Eduardo Valentin 2012-07-12 242 /* Register cooling device */
4d753aa7b6279e drivers/thermal/ti-soc-thermal/ti-thermal-common.c Viresh Kumar 2017-04-25 @243 data->cool_dev = cpufreq_cooling_register(data->policy);
0c12b5ac82fbae drivers/thermal/ti-soc-thermal/ti-thermal-common.c Eduardo Valentin 2013-05-29 244 if (IS_ERR(data->cool_dev)) {
cffafc32473560 drivers/thermal/ti-soc-thermal/ti-thermal-common.c Eduardo Valentin 2014-12-12 245 int ret = PTR_ERR(data->cool_dev);
4d753aa7b6279e drivers/thermal/ti-soc-thermal/ti-thermal-common.c Viresh Kumar 2017-04-25 246 dev_err(bgp->dev, "Failed to register cpu cooling device %d\n",
cffafc32473560 drivers/thermal/ti-soc-thermal/ti-thermal-common.c Eduardo Valentin 2014-12-12 247 ret);
cffafc32473560 drivers/thermal/ti-soc-thermal/ti-thermal-common.c Eduardo Valentin 2014-12-12 248
cffafc32473560 drivers/thermal/ti-soc-thermal/ti-thermal-common.c Eduardo Valentin 2014-12-12 249 return ret;
445eaf871bf94e drivers/staging/omap-thermal/omap-thermal-common.c Eduardo Valentin 2012-07-12 250 }
03e859d344267c drivers/staging/ti-soc-thermal/ti-thermal-common.c Eduardo Valentin 2013-03-19 251 ti_bandgap_set_sensor_data(bgp, id, data);
445eaf871bf94e drivers/staging/omap-thermal/omap-thermal-common.c Eduardo Valentin 2012-07-12 252
445eaf871bf94e drivers/staging/omap-thermal/omap-thermal-common.c Eduardo Valentin 2012-07-12 253 return 0;
445eaf871bf94e drivers/staging/omap-thermal/omap-thermal-common.c Eduardo Valentin 2012-07-12 254 }
445eaf871bf94e drivers/staging/omap-thermal/omap-thermal-common.c Eduardo Valentin 2012-07-12 255
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-09-02 6:20 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-01 8:57 [PATCH v3 00/12] cpufreq: use __free() for all cpufreq_cpu_get() references Zihuan Zhang
2025-09-01 8:57 ` [PATCH v3 01/12] arm64: topology: Use scope-based cleanup helper Zihuan Zhang
2025-09-02 5:26 ` kernel test robot
2025-09-01 8:57 ` [PATCH v3 02/12] ACPI: processor: thermal: " Zihuan Zhang
2025-09-03 11:07 ` Rafael J. Wysocki
2025-09-01 8:57 ` [PATCH v3 03/12] cpufreq: intel_pstate: " Zihuan Zhang
2025-09-01 15:17 ` Rafael J. Wysocki
2025-09-02 10:32 ` Zihuan Zhang
2025-09-02 11:47 ` Rafael J. Wysocki
2025-09-03 0:51 ` Zihuan Zhang
2025-09-03 11:04 ` Rafael J. Wysocki
2025-09-01 8:57 ` [PATCH v3 04/12] cpufreq: longhaul: " Zihuan Zhang
2025-09-02 15:58 ` Krzysztof Kozlowski
2025-09-01 8:57 ` [PATCH v3 05/12] cpufreq: powernv: " Zihuan Zhang
2025-09-01 8:57 ` [PATCH v3 06/12] PM / devfreq: " Zihuan Zhang
2025-09-01 8:57 ` [PATCH v3 07/12] drm/i915: " Zihuan Zhang
2025-09-01 8:57 ` [PATCH v3 08/12] cpufreq: powerpc: macintosh: " Zihuan Zhang
2025-09-02 15:59 ` Krzysztof Kozlowski
2025-09-01 8:57 ` [PATCH v3 09/12] powercap: dtpm_cpu: " Zihuan Zhang
2025-09-03 11:43 ` Rafael J. Wysocki
2025-09-01 8:57 ` [PATCH v3 10/12] thermal: imx: " Zihuan Zhang
2025-09-02 6:30 ` kernel test robot
2025-09-01 8:57 ` [PATCH v3 11/12] thermal/drivers/ti-soc-thermal: " Zihuan Zhang
2025-09-02 6:19 ` kernel test robot [this message]
2025-09-01 8:57 ` [PATCH v3 12/12] PM: EM: " Zihuan Zhang
2025-09-02 15:57 ` Krzysztof Kozlowski
2025-09-03 2:12 ` Zihuan Zhang
2025-09-03 6:11 ` Krzysztof Kozlowski
2025-09-02 16:44 ` ✓ i915.CI.BAT: success for cpufreq: use __free() for all cpufreq_cpu_get() references (rev3) Patchwork
2025-09-03 0:41 ` ✗ i915.CI.Full: failure " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2025-09-02 15:25 [PATCH v3 12/12] PM: EM: Use scope-based cleanup helper kernel test robot
2025-09-02 15:53 ` Dan Carpenter
2025-09-03 2:30 ` Zihuan Zhang
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=202509021413.NLo9zuEp-lkp@intel.com \
--to=lkp@intel.com \
--cc=airlied@gmail.com \
--cc=alim.akhtar@samsung.com \
--cc=ben.horgan@arm.com \
--cc=bp@alien8.de \
--cc=catalin.marinas@arm.com \
--cc=cw00.choi@samsung.com \
--cc=daniel.lezcano@kernel.org \
--cc=dave.hansen@linux.intel.com \
--cc=edubezval@gmail.com \
--cc=j-keerthy@ti.com \
--cc=jani.nikula@linux.intel.com \
--cc=kernel@pengutronix.de \
--cc=krzk@kernel.org \
--cc=kyungmin.park@samsung.com \
--cc=lenb@kernel.org \
--cc=lukasz.luba@arm.com \
--cc=mpe@ellerman.id.au \
--cc=myungjoo.ham@samsung.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rafael@kernel.org \
--cc=rodrigo.vivi@intel.com \
--cc=rui.zhang@intel.com \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=simona@ffwll.ch \
--cc=srinivas.pandruvada@linux.intel.com \
--cc=thierry.reding@gmail.com \
--cc=tursulin@ursulin.net \
--cc=viresh.kumar@linaro.org \
--cc=will@kernel.org \
--cc=zhangzihuan@kylinos.cn \
--cc=zhenglifeng1@huawei.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.