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: arm64-randconfig-r005-20201210 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
1968804ac726e7674d5de22bc2204b45857da344)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
#
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=clang make.cross ARCH=arm64
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: field designator
'notify' does not refer to any field in type 'struct
thermal_zone_device_ops'
.notify = rcar_thermal_notify,
^
1 error generated.
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