[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240712114838.2af5b525@canb.auug.org.au>
Date: Fri, 12 Jul 2024 11:48:38 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: "Rafael J. Wysocki" <rjw@...ysocki.net>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, Linux Next
Mailing List <linux-next@...r.kernel.org>
Subject: linux-next: build failure after merge of the pm tree
Hi all,
After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:
drivers/thermal/tegra/soctherm.c: In function 'tegra_thermctl_set_trip_temp':
drivers/thermal/tegra/soctherm.c:592:13: error: unused variable 'ret' [-Werror=unused-variable]
592 | int ret;
| ^~~
cc1: all warnings being treated as errors
Caused by commit
b46696a4e8c4 ("thermal: trip: Pass trip pointer to .set_trip_temp() thermal zone callback")
I have applied the following patch for today:
From: Stephen Rothwell <sfr@...b.auug.org.au>
Date: Fri, 12 Jul 2024 11:46:14 +1000
Subject: [PATCH] fixup for "thermal: trip: Pass trip pointer to .set_trip_temp() thermal zone callback"
Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
---
drivers/thermal/tegra/soctherm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/thermal/tegra/soctherm.c b/drivers/thermal/tegra/soctherm.c
index 62983653ca19..d3dfc34c62c6 100644
--- a/drivers/thermal/tegra/soctherm.c
+++ b/drivers/thermal/tegra/soctherm.c
@@ -589,7 +589,6 @@ static int tegra_thermctl_set_trip_temp(struct thermal_zone_device *tz,
struct tegra_soctherm *ts = zone->ts;
const struct tegra_tsensor_group *sg = zone->sg;
struct device *dev = zone->dev;
- int ret;
if (!tz)
return -EINVAL;
--
2.43.0
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists