[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220803130500.223005-1-broonie@kernel.org>
Date: Wed, 3 Aug 2022 14:05:00 +0100
From: broonie@...nel.org
To: Daniel Lezcano <daniel.lezcano@...aro.org>,
Zhang Rui <rui.zhang@...el.com>
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 thermal tree
Hi all,
After merging the thermal tree, today's linux-next build (x86_64 allmodconfig)
failed like this:
/tmp/next/build/drivers/iio/adc/sun4i-gpadc-iio.c: In function 'sun4i_gpadc_probe':
/tmp/next/build/drivers/iio/adc/sun4i-gpadc-iio.c:640:44: error: passing argument 1 of 'thermal_of_zone_register' from incompatible pointer type [-Werror=incompatible-pointer-types]
640 | info->tzd = thermal_of_zone_register(info->sensor_device,
| ~~~~^~~~~~~~~~~~~~~
| |
| struct device *
In file included from /tmp/next/build/drivers/iio/adc/sun4i-gpadc-iio.c:31:
/tmp/next/build/include/linux/thermal.h:301:29: note: expected 'struct device_node *' but argument is of type 'struct device *'
301 | struct thermal_zone_device *thermal_of_zone_register(struct device_node *sensor, int id, void *data,
| ^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/next/build/drivers/iio/adc/sun4i-gpadc-iio.c: In function 'sun4i_gpadc_remove':
/tmp/next/build/drivers/iio/adc/sun4i-gpadc-iio.c:684:2: error: implicit declaration of function 'thermal_zone_of_sensor_unregister'; did you mean 'thermal_zone_device_unregister'? [-Werror=implicit-function-declaration]
684 | thermal_zone_of_sensor_unregister(info->sensor_device, info->tzd);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| thermal_zone_device_unregister
cc1: all warnings being treated as errors
Caused by commit
990ee4496499ef61c06bbf ("iio/drivers/sun4i_gpadc: Switch to new of thermal API")
I have used the version of the tree from 20220728 instead.
Powered by blists - more mailing lists