From: Mark Brown <broonie@kernel.org>
To: "Hans de Goede" <hansg@kernel.org>,
"Mark Gross" <markgross@kernel.org>,
"Daniel Lezcano" <daniel.lezcano@kernel.org>,
"Maya Matuszczyk" <maccraft123mc@gmail.com>,
"Anvesh Jain P" <anvesh.p@oss.qualcomm.com>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: linux-next: build failure after merge of the drivers-x86 tree
Date: Mon, 8 Jun 2026 16:03:39 +0100 [thread overview]
Message-ID: <aibZy5rrdX3ltGpr@sirena.org.uk> (raw)
[-- Attachment #1: Type: text/plain, Size: 3088 bytes --]
Hi all,
After merging the drivers-x86 tree, today's linux-next build (x86_64
allmodconfig) failed like this:
/tmp/next/build/drivers/platform/arm64/qcom-hamoa-ec.c:394:64: error: incompatible pointer to integer conversion passing 'void *' to parameter of type 'u32' (aka 'unsigned int') [-Wint-conversion]
394 | ec_cdev->cdev = devm_thermal_of_cooling_device_register(dev, NULL, name, ec_cdev,
| ^~~~
/tmp/next/build/include/linux/stddef.h:8:14: note: expanded from macro 'NULL'
8 | #define NULL ((void *)0)
| ^~~~~~~~~~~
/tmp/next/build/include/linux/thermal.h:210:65: note: passing argument to parameter 'cdev_id' here
210 | devm_thermal_of_cooling_device_register(struct device *dev, u32 cdev_id,
|
Caused by commit
5c44f48e91dee (platform: arm64: Add driver for EC found on Qualcomm reference devices)
interacting with
37324803f049b (thermal/of: Add cooling device ID support)
3570cb58e3171 (thermal/of: Pass cdev_id and introduce devm registration helper)
from the thermal tree. I have fixed this up as below and can carry
this, but this will need to be dealt with during the merge window.
From 7402d20e88c7a0f8a3ce34e660ac40683092b547 Mon Sep 17 00:00:00 2001
From: Mark Brown <broonie@kernel.org>
Date: Mon, 8 Jun 2026 14:51:40 +0100
Subject: [PATCH] drivers-x86: hamoa: Fix up semantic conflit with thermal tree
/tmp/next/build/drivers/platform/arm64/qcom-hamoa-ec.c:394:64: error: incompatible pointer to integer conversion passing 'void *' to parameter of type 'u32' (aka 'unsigned int') [-Wint-conversion]
394 | ec_cdev->cdev = devm_thermal_of_cooling_device_register(dev, NULL, name, ec_cdev,
| ^~~~
/tmp/next/build/include/linux/stddef.h:8:14: note: expanded from macro 'NULL'
8 | #define NULL ((void *)0)
| ^~~~~~~~~~~
/tmp/next/build/include/linux/thermal.h:210:65: note: passing argument to parameter 'cdev_id' here
210 | devm_thermal_of_cooling_device_register(struct device *dev, u32 cdev_id,
|
Signed-off-by: Mark Brown <broonie@kernel.org>
---
drivers/platform/arm64/qcom-hamoa-ec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/platform/arm64/qcom-hamoa-ec.c b/drivers/platform/arm64/qcom-hamoa-ec.c
index a018f7bf35d2a..6c1ff6a14b0cf 100644
--- a/drivers/platform/arm64/qcom-hamoa-ec.c
+++ b/drivers/platform/arm64/qcom-hamoa-ec.c
@@ -391,7 +391,7 @@ static int qcom_ec_probe(struct i2c_client *client)
ec_cdev->fan_id = i + 1;
ec_cdev->parent_dev = dev;
- ec_cdev->cdev = devm_thermal_of_cooling_device_register(dev, NULL, name, ec_cdev,
+ ec_cdev->cdev = devm_thermal_of_cooling_device_register(dev, 0, NULL, ec_cdev,
&qcom_ec_thermal_ops);
if (IS_ERR(ec_cdev->cdev)) {
return dev_err_probe(dev, PTR_ERR(ec_cdev->cdev),
--
2.47.3
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2026-06-08 15:03 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-08 15:03 Mark Brown [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-01-15 3:52 linux-next: build failure after merge of the drivers-x86 tree Stephen Rothwell
2026-01-15 3:54 ` Kees Cook
2026-01-15 9:53 ` Ilpo Järvinen
2025-05-15 6:46 Stephen Rothwell
2025-05-15 8:32 ` Ilpo Järvinen
2025-05-15 9:22 ` Ingo Molnar
2025-05-15 12:19 ` Stephen Rothwell
2025-05-15 12:57 ` Ingo Molnar
2025-02-06 2:36 Stephen Rothwell
2025-02-06 10:27 ` Ilpo Järvinen
2025-02-06 14:49 ` Joshua Grisham
2025-02-06 19:22 ` Ilpo Järvinen
2021-08-20 5:00 Stephen Rothwell
2021-08-20 7:31 ` M D
2021-08-20 10:11 ` Hans de Goede
2021-07-28 16:48 Mark Brown
2021-07-28 17:01 ` Andy Shevchenko
2021-07-28 17:27 ` Kammela, Gayatri
2021-07-28 17:55 ` Hans de Goede
2021-07-28 17:59 ` Kammela, Gayatri
2019-10-15 2:00 Stephen Rothwell
2019-10-15 8:04 ` Andy Shevchenko
2019-10-15 11:42 ` Stephen Rothwell
2018-06-12 1:23 Stephen Rothwell
2018-06-12 3:28 ` dvhart
2018-06-12 5:18 ` Darren Hart
2015-06-05 10:13 Michael Ellerman
2015-06-08 4:52 ` Darren Hart
2015-06-04 8:13 Stephen Rothwell
2015-06-04 17:51 ` Radim Krčmář
2015-06-08 4:27 ` Darren Hart
2012-08-20 6:11 Stephen Rothwell
2012-08-20 6:44 ` AceLan Kao
2012-03-22 4:33 Stephen Rothwell
2012-03-21 5:52 Stephen Rothwell
2012-03-21 11:19 ` Matthew Garrett
2011-02-22 5:22 Stephen Rothwell
2011-02-22 6:26 ` Mattia Dongili
2011-02-22 11:46 ` Mattia Dongili
2011-02-22 14:34 ` Matthew Garrett
2011-02-22 22:22 ` Stephen Rothwell
2011-02-14 5:39 Stephen Rothwell
2011-02-14 22:42 ` Rafael J. Wysocki
2011-03-25 4:44 ` Stephen Rothwell
2011-02-08 3:45 Stephen Rothwell
2011-02-08 3:50 ` Matthew Garrett
2010-12-07 2:24 Stephen Rothwell
2010-10-05 4:11 Stephen Rothwell
2010-10-05 10:36 ` Ike Panhc
2010-10-06 10:45 ` Ike Panhc
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=aibZy5rrdX3ltGpr@sirena.org.uk \
--to=broonie@kernel.org \
--cc=anvesh.p@oss.qualcomm.com \
--cc=daniel.lezcano@kernel.org \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=maccraft123mc@gmail.com \
--cc=markgross@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