✗ Fi.CI.BUILD: failure for Revert "hwmon: (coretemp) Convert to hotplug state machine"

Patchwork patchwork at emeril.freedesktop.org
Fri Sep 23 19:24:47 UTC 2022


== Series Details ==

Series: Revert "hwmon: (coretemp) Convert to hotplug state machine"
URL   : https://patchwork.freedesktop.org/series/108961/
State : failure

== Summary ==

Error: make failed
  CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  DESCEND objtool
  CHK     include/generated/compile.h
  AR      drivers/hwmon/built-in.a
  CC [M]  drivers/hwmon/coretemp.o
drivers/hwmon/coretemp.c: In function ‘get_core_online’:
drivers/hwmon/coretemp.c:600:10: warning: ‘return’ with a value, in function returning void
   return 0;
          ^
drivers/hwmon/coretemp.c:589:13: note: declared here
 static void get_core_online(unsigned int cpu)
             ^~~~~~~~~~~~~~~
drivers/hwmon/coretemp.c: In function ‘put_core_offline’:
drivers/hwmon/coretemp.c:656:10: warning: ‘return’ with a value, in function returning void
   return 0;
          ^
drivers/hwmon/coretemp.c:644:13: note: declared here
 static void put_core_offline(unsigned int cpu)
             ^~~~~~~~~~~~~~~~
drivers/hwmon/coretemp.c: In function ‘coretemp_cpu_callback’:
drivers/hwmon/coretemp.c:717:7: error: ‘CPU_DOWN_FAILED’ undeclared (first use in this function); did you mean ‘CPU_SMT_ENABLED’?
  case CPU_DOWN_FAILED:
       ^~~~~~~~~~~~~~~
       CPU_SMT_ENABLED
drivers/hwmon/coretemp.c:717:7: note: each undeclared identifier is reported only once for each function it appears in
drivers/hwmon/coretemp.c:720:7: error: ‘CPU_DOWN_PREPARE’ undeclared (first use in this function); did you mean ‘CPU_UP_PREPARE’?
  case CPU_DOWN_PREPARE:
       ^~~~~~~~~~~~~~~~
       CPU_UP_PREPARE
drivers/hwmon/coretemp.c: In function ‘coretemp_init’:
drivers/hwmon/coretemp.c:759:2: error: implicit declaration of function ‘cpu_notifier_register_begin’; did you mean ‘preempt_notifier_register’? [-Werror=implicit-function-declaration]
  cpu_notifier_register_begin();
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  preempt_notifier_register
drivers/hwmon/coretemp.c:771:2: error: implicit declaration of function ‘__register_hotcpu_notifier’; did you mean ‘unregister_module_notifier’? [-Werror=implicit-function-declaration]
  __register_hotcpu_notifier(&coretemp_cpu_notifier);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
  unregister_module_notifier
drivers/hwmon/coretemp.c:772:2: error: implicit declaration of function ‘cpu_notifier_register_done’; did you mean ‘preempt_notifier_register’? [-Werror=implicit-function-declaration]
  cpu_notifier_register_done();
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
  preempt_notifier_register
drivers/hwmon/coretemp.c: In function ‘coretemp_exit’:
drivers/hwmon/coretemp.c:789:2: error: implicit declaration of function ‘__unregister_hotcpu_notifier’; did you mean ‘unregister_module_notifier’? [-Werror=implicit-function-declaration]
  __unregister_hotcpu_notifier(&coretemp_cpu_notifier);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  unregister_module_notifier
In file included from ./include/linux/seqlock.h:19,
                 from ./include/linux/mm_types.h:19,
                 from ./include/linux/buildid.h:5,
                 from ./include/linux/module.h:14,
                 from drivers/hwmon/coretemp.c:12:
drivers/hwmon/coretemp.c:790:14: error: ‘pdev_list_mutex’ undeclared (first use in this function); did you mean ‘kref_put_mutex’?
  mutex_lock(&pdev_list_mutex);
              ^~~~~~~~~~~~~~~
./include/linux/mutex.h:187:44: note: in definition of macro ‘mutex_lock’
 #define mutex_lock(lock) mutex_lock_nested(lock, 0)
                                            ^~~~
In file included from ./include/linux/list.h:5,
                 from ./include/linux/module.h:12,
                 from drivers/hwmon/coretemp.c:12:
drivers/hwmon/coretemp.c:791:34: error: ‘pdev_list’ undeclared (first use in this function); did you mean ‘pgd_list’?
  list_for_each_entry_safe(p, n, &pdev_list, list) {
                                  ^~~~~~~~~
./include/linux/container_of.h:18:26: note: in definition of macro ‘container_of’
  void *__mptr = (void *)(ptr);     \
                          ^~~
./include/linux/list.h:531:2: note: in expansion of macro ‘list_entry’
  list_entry((ptr)->next, type, member)
  ^~~~~~~~~~
./include/linux/list.h:761:13: note: in expansion of macro ‘list_first_entry’
  for (pos = list_first_entry(head, typeof(*pos), member), \
             ^~~~~~~~~~~~~~~~
drivers/hwmon/coretemp.c:791:2: note: in expansion of macro ‘list_for_each_entry_safe’
  list_for_each_entry_safe(p, n, &pdev_list, list) {
  ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/container_of.h:5,
                 from ./include/linux/list.h:5,
                 from ./include/linux/module.h:12,
                 from drivers/hwmon/coretemp.c:12:
./include/linux/list.h:761:43: error: dereferencing pointer to incomplete type ‘struct pdev_entry’
  for (pos = list_first_entry(head, typeof(*pos), member), \
./include/linux/build_bug.h:78:56: note: in definition of macro ‘__static_assert’
 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
                                                        ^~~~
./include/linux/container_of.h:19:2: note: in expansion of macro ‘static_assert’
  static_assert(__same_type(*(ptr), ((type *)0)->member) || \
  ^~~~~~~~~~~~~
./include/linux/container_of.h:19:16: note: in expansion of macro ‘__same_type’
  static_assert(__same_type(*(ptr), ((type *)0)->member) || \
                ^~~~~~~~~~~
./include/linux/list.h:520:2: note: in expansion of macro ‘container_of’
  container_of(ptr, type, member)
  ^~~~~~~~~~~~
./include/linux/list.h:531:2: note: in expansion of macro ‘list_entry’
  list_entry((ptr)->next, type, member)
  ^~~~~~~~~~
./include/linux/list.h:761:13: note: in expansion of macro ‘list_first_entry’
  for (pos = list_first_entry(head, typeof(*pos), member), \
             ^~~~~~~~~~~~~~~~
drivers/hwmon/coretemp.c:791:2: note: in expansion of macro ‘list_for_each_entry_safe’
  list_for_each_entry_safe(p, n, &pdev_list, list) {
  ^~~~~~~~~~~~~~~~~~~~~~~~
././include/linux/compiler_types.h:295:27: error: expression in static assertion is not an integer
 #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:78:56: note: in definition of macro ‘__static_assert’
 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
                                                        ^~~~
./include/linux/container_of.h:19:2: note: in expansion of macro ‘static_assert’
  static_assert(__same_type(*(ptr), ((type *)0)->member) || \
  ^~~~~~~~~~~~~
./include/linux/container_of.h:19:16: note: in expansion of macro ‘__same_type’
  static_assert(__same_type(*(ptr), ((type *)0)->member) || \
                ^~~~~~~~~~~
./include/linux/list.h:520:2: note: in expansion of macro ‘container_of’
  container_of(ptr, type, member)
  ^~~~~~~~~~~~
./include/linux/list.h:531:2: note: in expansion of macro ‘list_entry’
  list_entry((ptr)->next, type, member)
  ^~~~~~~~~~
./include/linux/list.h:761:13: note: in expansion of macro ‘list_first_entry’
  for (pos = list_first_entry(head, typeof(*pos), member), \
             ^~~~~~~~~~~~~~~~
drivers/hwmon/coretemp.c:791:2: note: in expansion of macro ‘list_for_each_entry_safe’
  list_for_each_entry_safe(p, n, &pdev_list, list) {
  ^~~~~~~~~~~~~~~~~~~~~~~~
././include/linux/compiler_types.h:295:27: error: expression in static assertion is not an integer
 #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:78:56: note: in definition of macro ‘__static_assert’
 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
                                                        ^~~~
./include/linux/container_of.h:19:2: note: in expansion of macro ‘static_assert’
  static_assert(__same_type(*(ptr), ((type *)0)->member) || \
  ^~~~~~~~~~~~~
./include/linux/container_of.h:19:16: note: in expansion of macro ‘__same_type’
  static_assert(__same_type(*(ptr), ((type *)0)->member) || \
                ^~~~~~~~~~~
./include/linux/list.h:520:2: note: in expansion of macro ‘container_of’
  container_of(ptr, type, member)
  ^~~~~~~~~~~~
./include/linux/list.h:564:2: note: in expansion of macro ‘list_entry’
  list_entry((pos)->member.next, typeof(*(pos)), member)
  ^~~~~~~~~~
./include/linux/list.h:762:7: note: in expansion of macro ‘list_next_entry’
   n = list_next_entry(pos, member);   \
       ^~~~~~~~~~~~~~~
drivers/hwmon/coretemp.c:791:2: note: in expansion of macro ‘list_for_each_entry_safe’
  list_for_each_entry_safe(p, n, &pdev_list, list) {
  ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/module.h:12,
                 from drivers/hwmon/coretemp.c:12:
./include/linux/list.h:761:57: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  for (pos = list_first_entry(head, typeof(*pos), member), \
                                                         ^
drivers/hwmon/coretemp.c:791:2: note: in expansion of macro ‘list_for_each_entry_safe’
  list_for_each_entry_safe(p, n, &pdev_list, list) {
  ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/container_of.h:5,
                 from ./include/linux/list.h:5,
                 from ./include/linux/module.h:12,
                 from drivers/hwmon/coretemp.c:12:
././include/linux/compiler_types.h:295:27: error: expression in static assertion is not an integer
 #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:78:56: note: in definition of macro ‘__static_assert’
 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
                                                        ^~~~
./include/linux/container_of.h:19:2: note: in expansion of macro ‘static_assert’
  static_assert(__same_type(*(ptr), ((type *)0)->member) || \
  ^~~~~~~~~~~~~
./include/linux/container_of.h:19:16: note: in expansion of macro ‘__same_type’
  static_assert(__same_type(*(ptr), ((type *)0)->member) || \
                ^~~~~~~~~~~
./include/linux/list.h:520:2: note: in expansion of macro ‘container_of’
  container_of(ptr, type, member)
  ^~~~~~~~~~~~
./include/linux/list.h:564:2: note: in expansion of macro ‘list_entry’
  list_entry((pos)->member.next, typeof(*(pos)), member)
  ^~~~~~~~~~
./include/linux/list.h:764:20: note: in expansion of macro ‘list_next_entry’
       pos = n, n = list_next_entry(n, member))
                    ^~~~~~~~~~~~~~~
drivers/hwmon/coretemp.c:791:2: note: in expansion of macro ‘list_for_each_entry_safe’
  list_for_each_entry_safe(p, n, &pdev_list, list) {
  ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:249: recipe for target 'drivers/hwmon/coretemp.o' failed
make[2]: *** [drivers/hwmon/coretemp.o] Error 1
scripts/Makefile.build:465: recipe for target 'drivers/hwmon' failed
make[1]: *** [drivers/hwmon] Error 2
Makefile:1852: recipe for target 'drivers' failed
make: *** [drivers] Error 2




More information about the Intel-gfx-trybot mailing list