Re: linux-next: build warning after merge of the thermal tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/03/2020 00:42, Stephen Rothwell wrote:
> 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.

Fixed, thanks


-- 
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux