Hi Daniel,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on pm/linux-next]
[also build test ERROR on linux/master linus/master v5.10-rc7 next-20201209]
[cannot apply to thermal/next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Daniel-Lezcano/thermal-core-Emit...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: nios2-randconfig-r015-20201209 (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/0day-ci/linux/commit/96e276bc9b59eae0b9c1478fb4902727d...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Daniel-Lezcano/thermal-core-Emit-a-warning-if-the-thermal-zone-is-updated-without-ops/20201209-233832
git checkout 96e276bc9b59eae0b9c1478fb4902727d9aac6c2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/thermal/rcar_thermal.c:352:3: error: 'struct
thermal_zone_device_ops' has no member named 'notify'
352 |
.notify = rcar_thermal_notify,
| ^~~~~~
> drivers/thermal/rcar_thermal.c:352:13: error: initialization of
'int (*)(struct thermal_zone_device *, int, int)' from incompatible pointer type
'int (*)(struct thermal_zone_device *, int, enum thermal_trip_type)'
[-Werror=incompatible-pointer-types]
352 | .notify = rcar_thermal_notify,
| ^~~~~~~~~~~~~~~~~~~
drivers/thermal/rcar_thermal.c:352:13: note: (near initialization for
'rcar_thermal_zone_ops.set_trip_temp')
cc1: some warnings being treated as errors
vim +352 drivers/thermal/rcar_thermal.c
8b477ea56383dc Kuninori Morimoto 2016-01-28 347
1e426ffddf2f15 Kuninori Morimoto 2012-07-21 348 static struct thermal_zone_device_ops
rcar_thermal_zone_ops = {
1e426ffddf2f15 Kuninori Morimoto 2012-07-21 349 .get_temp = rcar_thermal_get_temp,
d2a73e225d113f Kuninori Morimoto 2012-12-02 350 .get_trip_type =
rcar_thermal_get_trip_type,
d2a73e225d113f Kuninori Morimoto 2012-12-02 351 .get_trip_temp =
rcar_thermal_get_trip_temp,
d2a73e225d113f Kuninori Morimoto 2012-12-02 @352 .notify = rcar_thermal_notify,
1e426ffddf2f15 Kuninori Morimoto 2012-07-21 353 };
1e426ffddf2f15 Kuninori Morimoto 2012-07-21 354
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org