[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200303104223.73222b9f@canb.auug.org.au>
Date: Tue, 3 Mar 2020 10:42:23 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Daniel Lezcano <daniel.lezcano@...aro.org>,
Zhang Rui <rui.zhang@...el.com>,
Eduardo Valentin <edubezval@...il.com>
Cc: Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Anson Huang <Anson.Huang@....com>
Subject: linux-next: build warning after merge of the thermal tree
Hi all,
After merging the thermal tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:
In file included from drivers/hwmon/hwmon.c:22:
include/linux/thermal.h:382:12: warning: 'thermal_zone_of_get_sensor_id' defined but not used [-Wunused-function]
382 | static int thermal_zone_of_get_sensor_id(struct device_node *tz_np,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
and many more the same ...
Introduced by commit
0629521dc9c9 ("thermal: of-thermal: add API for getting sensor ID from DT")
Missing "inline" in the !defined(CONFIG_THERMAL_OF) update.
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists