Hi, kernel test robot noticed the following build errors:
[auto build test ERROR on trace/for-next] [also build test ERROR on shuah-kselftest/next shuah-kselftest/fixes linus/master v7.3-rc6 next-20261009] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/wen-yang-linux-dev/rv-Force-environment-reset-action-on-HA-monitor-start/20261012-033907 base: https://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace for-next patch link: https://lore.kernel.org/r/cdaf33af866392428f1942cef4e442b1d106989c.1791745088.git.wen.yang%40linux.dev patch subject: [PATCH v7 03/14] rv: Add a KUnit test for the HA timer underflow config: sh-randconfig-1001-20261012 (https://download.01.org/0day-ci/archive/20261012/[email protected]/config) compiler: sh4-linux-gcc (GCC) 16.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261012/[email protected]/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All error/warnings (new ones prefixed by >>): In file included from include/uapi/linux/posix_types.h:5, from include/uapi/linux/types.h:14, from include/linux/types.h:5, from include/linux/kasan-checks.h:5, from include/asm-generic/rwonce.h:26, from ./arch/sh/include/generated/asm/rwonce.h:1, from include/linux/compiler.h:369, from include/linux/err.h:5, from include/kunit/assert.h:12, from include/kunit/test.h:12, from include/rv/kunit.h:16, from kernel/trace/rv/rv_monitors_test.c:10: >> include/linux/stddef.h:16:33: error: 'struct ha_monitor' has no member named >> 'da_mon' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ include/rv/ha_monitor.h:66:16: note: in expansion of macro 'offsetof' 66 | _Static_assert(offsetof(struct ha_monitor, da_mon) == 0, | ^~~~~~~~ >> include/linux/stddef.h:16:33: error: expression in static assertion is not >> an integer include/rv/ha_monitor.h:66:16: note: in expansion of macro 'offsetof' 66 | _Static_assert(offsetof(struct ha_monitor, da_mon) == 0, | ^~~~~~~~ >> kernel/trace/rv/rv_monitors_test.c:21:23: warning: 'HA_TIMER_HRTIMER' is not >> defined, evaluates to '0' [-Wundef] 21 | #define HA_TIMER_TYPE HA_TIMER_HRTIMER | ^~~~~~~~~~~~~~~~ include/rv/ha_monitor.h:122:5: note: in expansion of macro 'HA_TIMER_TYPE' 122 | #if HA_TIMER_TYPE == HA_TIMER_WHEEL | ^~~~~~~~~~~~~ In file included from kernel/trace/rv/rv_monitors_test.c:71: >> include/rv/ha_monitor.h:122:22: warning: 'HA_TIMER_WHEEL' is not defined, >> evaluates to '0' [-Wundef] 122 | #if HA_TIMER_TYPE == HA_TIMER_WHEEL | ^~~~~~~~~~~~~~ In file included from include/linux/init.h:5, from include/linux/printk.h:6, from include/kunit/assert.h:13: include/rv/ha_monitor.h: In function 'ha_monitor_init_env': >> include/linux/container_of.h:8:47: error: 'struct ha_monitor' has no member >> named 'da_mon' 8 | #define typeof_member(T, m) typeof(((T*)0)->m) | ^~ include/linux/build_bug.h:80:56: note: in definition of macro '__static_assert' 80 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ include/linux/container_of.h:20:9: note: in expansion of macro 'static_assert' 20 | static_assert(__same_type(*(ptr), typeof_member(type, member)) || \ | ^~~~~~~~~~~~~ include/linux/container_of.h:20:23: note: in expansion of macro '__same_type' 20 | static_assert(__same_type(*(ptr), typeof_member(type, member)) || \ | ^~~~~~~~~~~ include/linux/container_of.h:20:43: note: in expansion of macro 'typeof_member' 20 | static_assert(__same_type(*(ptr), typeof_member(type, member)) || \ | ^~~~~~~~~~~~~ include/rv/ha_monitor.h:68:27: note: in expansion of macro 'container_of' 68 | #define to_ha_monitor(da) container_of(da, struct ha_monitor, da_mon) | ^~~~~~~~~~~~ include/rv/ha_monitor.h:192:37: note: in expansion of macro 'to_ha_monitor' 192 | struct ha_monitor *ha_mon = to_ha_monitor(da_mon); | ^~~~~~~~~~~~~ include/linux/compiler_types.h:610:27: error: expression in static assertion is not an integer 610 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:80:56: note: in definition of macro '__static_assert' 80 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ include/linux/container_of.h:20:9: note: in expansion of macro 'static_assert' 20 | static_assert(__same_type(*(ptr), typeof_member(type, member)) || \ | ^~~~~~~~~~~~~ include/linux/container_of.h:20:23: note: in expansion of macro '__same_type' 20 | static_assert(__same_type(*(ptr), typeof_member(type, member)) || \ | ^~~~~~~~~~~ include/rv/ha_monitor.h:68:27: note: in expansion of macro 'container_of' 68 | #define to_ha_monitor(da) container_of(da, struct ha_monitor, da_mon) | ^~~~~~~~~~~~ include/rv/ha_monitor.h:192:37: note: in expansion of macro 'to_ha_monitor' 192 | struct ha_monitor *ha_mon = to_ha_monitor(da_mon); | ^~~~~~~~~~~~~ >> include/linux/stddef.h:16:33: error: 'struct ha_monitor' has no member named >> 'da_mon' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ include/linux/container_of.h:23:34: note: in expansion of macro 'offsetof' 23 | (type *)((void *)(ptr) - offsetof(type, member)); }) | ^~~~~~~~ include/rv/ha_monitor.h:68:27: note: in expansion of macro 'container_of' 68 | #define to_ha_monitor(da) container_of(da, struct ha_monitor, da_mon) | ^~~~~~~~~~~~ include/rv/ha_monitor.h:192:37: note: in expansion of macro 'to_ha_monitor' 192 | struct ha_monitor *ha_mon = to_ha_monitor(da_mon); | ^~~~~~~~~~~~~ include/rv/ha_monitor.h: In function 'ha_monitor_reset_env': >> include/linux/container_of.h:8:47: error: 'struct ha_monitor' has no member >> named 'da_mon' 8 | #define typeof_member(T, m) typeof(((T*)0)->m) | ^~ include/linux/build_bug.h:80:56: note: in definition of macro '__static_assert' 80 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ include/linux/container_of.h:20:9: note: in expansion of macro 'static_assert' 20 | static_assert(__same_type(*(ptr), typeof_member(type, member)) || \ | ^~~~~~~~~~~~~ include/linux/container_of.h:20:23: note: in expansion of macro '__same_type' 20 | static_assert(__same_type(*(ptr), typeof_member(type, member)) || \ | ^~~~~~~~~~~ include/linux/container_of.h:20:43: note: in expansion of macro 'typeof_member' 20 | static_assert(__same_type(*(ptr), typeof_member(type, member)) || \ | ^~~~~~~~~~~~~ include/rv/ha_monitor.h:68:27: note: in expansion of macro 'container_of' 68 | #define to_ha_monitor(da) container_of(da, struct ha_monitor, da_mon) | ^~~~~~~~~~~~ include/rv/ha_monitor.h:208:37: note: in expansion of macro 'to_ha_monitor' 208 | struct ha_monitor *ha_mon = to_ha_monitor(da_mon); | ^~~~~~~~~~~~~ include/linux/compiler_types.h:610:27: error: expression in static assertion is not an integer 610 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:80:56: note: in definition of macro '__static_assert' 80 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ include/linux/container_of.h:20:9: note: in expansion of macro 'static_assert' 20 | static_assert(__same_type(*(ptr), typeof_member(type, member)) || \ | ^~~~~~~~~~~~~ include/linux/container_of.h:20:23: note: in expansion of macro '__same_type' 20 | static_assert(__same_type(*(ptr), typeof_member(type, member)) || \ | ^~~~~~~~~~~ include/rv/ha_monitor.h:68:27: note: in expansion of macro 'container_of' 68 | #define to_ha_monitor(da) container_of(da, struct ha_monitor, da_mon) | ^~~~~~~~~~~~ include/rv/ha_monitor.h:208:37: note: in expansion of macro 'to_ha_monitor' 208 | struct ha_monitor *ha_mon = to_ha_monitor(da_mon); | ^~~~~~~~~~~~~ >> include/linux/stddef.h:16:33: error: 'struct ha_monitor' has no member named >> 'da_mon' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ include/linux/container_of.h:23:34: note: in expansion of macro 'offsetof' 23 | (type *)((void *)(ptr) - offsetof(type, member)); }) | ^~~~~~~~ include/rv/ha_monitor.h:68:27: note: in expansion of macro 'container_of' 68 | #define to_ha_monitor(da) container_of(da, struct ha_monitor, da_mon) | ^~~~~~~~~~~~ include/rv/ha_monitor.h:208:37: note: in expansion of macro 'to_ha_monitor' 208 | struct ha_monitor *ha_mon = to_ha_monitor(da_mon); | ^~~~~~~~~~~~~ In file included from <command-line>: include/rv/ha_monitor.h: In function 'ha_monitor_env_invalid': >> include/rv/ha_monitor.h:219:32: error: 'struct ha_monitor' has no member >> named 'env_store' 219 | return READ_ONCE(ha_mon->env_store[env]) == ENV_INVALID_VALUE; | ^~ include/linux/compiler_types.h:682:23: note: in definition of macro '__compiletime_assert' 682 | if (!(condition)) \ | ^~~~~~~~~ include/linux/compiler_types.h:702:9: note: in expansion of macro '_compiletime_assert' 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:9: note: in expansion of macro 'compiletime_assert' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:28: note: in expansion of macro '__native_word' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~ include/asm-generic/rwonce.h:49:9: note: in expansion of macro 'compiletime_assert_rwonce_type' 49 | compiletime_assert_rwonce_type(x); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/rv/ha_monitor.h:219:16: note: in expansion of macro 'READ_ONCE' 219 | return READ_ONCE(ha_mon->env_store[env]) == ENV_INVALID_VALUE; | ^~~~~~~~~ >> include/rv/ha_monitor.h:219:32: error: 'struct ha_monitor' has no member >> named 'env_store' 219 | return READ_ONCE(ha_mon->env_store[env]) == ENV_INVALID_VALUE; | ^~ include/linux/compiler_types.h:682:23: note: in definition of macro '__compiletime_assert' 682 | if (!(condition)) \ | ^~~~~~~~~ include/linux/compiler_types.h:702:9: note: in expansion of macro '_compiletime_assert' 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:9: note: in expansion of macro 'compiletime_assert' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:28: note: in expansion of macro '__native_word' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~ include/asm-generic/rwonce.h:49:9: note: in expansion of macro 'compiletime_assert_rwonce_type' 49 | compiletime_assert_rwonce_type(x); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/rv/ha_monitor.h:219:16: note: in expansion of macro 'READ_ONCE' 219 | return READ_ONCE(ha_mon->env_store[env]) == ENV_INVALID_VALUE; | ^~~~~~~~~ >> include/rv/ha_monitor.h:219:32: error: 'struct ha_monitor' has no member >> named 'env_store' 219 | return READ_ONCE(ha_mon->env_store[env]) == ENV_INVALID_VALUE; | ^~ include/linux/compiler_types.h:682:23: note: in definition of macro '__compiletime_assert' 682 | if (!(condition)) \ | ^~~~~~~~~ include/linux/compiler_types.h:702:9: note: in expansion of macro '_compiletime_assert' 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:9: note: in expansion of macro 'compiletime_assert' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:28: note: in expansion of macro '__native_word' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~ include/asm-generic/rwonce.h:49:9: note: in expansion of macro 'compiletime_assert_rwonce_type' 49 | compiletime_assert_rwonce_type(x); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/rv/ha_monitor.h:219:16: note: in expansion of macro 'READ_ONCE' 219 | return READ_ONCE(ha_mon->env_store[env]) == ENV_INVALID_VALUE; | ^~~~~~~~~ >> include/rv/ha_monitor.h:219:32: error: 'struct ha_monitor' has no member >> named 'env_store' 219 | return READ_ONCE(ha_mon->env_store[env]) == ENV_INVALID_VALUE; | ^~ include/linux/compiler_types.h:682:23: note: in definition of macro '__compiletime_assert' 682 | if (!(condition)) \ | ^~~~~~~~~ include/linux/compiler_types.h:702:9: note: in expansion of macro '_compiletime_assert' 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:9: note: in expansion of macro 'compiletime_assert' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:28: note: in expansion of macro '__native_word' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~ include/asm-generic/rwonce.h:49:9: note: in expansion of macro 'compiletime_assert_rwonce_type' 49 | compiletime_assert_rwonce_type(x); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/rv/ha_monitor.h:219:16: note: in expansion of macro 'READ_ONCE' 219 | return READ_ONCE(ha_mon->env_store[env]) == ENV_INVALID_VALUE; | ^~~~~~~~~ >> include/rv/ha_monitor.h:219:32: error: 'struct ha_monitor' has no member >> named 'env_store' 219 | return READ_ONCE(ha_mon->env_store[env]) == ENV_INVALID_VALUE; | ^~ include/linux/compiler_types.h:682:23: note: in definition of macro '__compiletime_assert' 682 | if (!(condition)) \ | ^~~~~~~~~ include/linux/compiler_types.h:702:9: note: in expansion of macro '_compiletime_assert' 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:9: note: in expansion of macro 'compiletime_assert' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:49:9: note: in expansion of macro 'compiletime_assert_rwonce_type' 49 | compiletime_assert_rwonce_type(x); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/rv/ha_monitor.h:219:16: note: in expansion of macro 'READ_ONCE' 219 | return READ_ONCE(ha_mon->env_store[env]) == ENV_INVALID_VALUE; | ^~~~~~~~~ >> include/rv/ha_monitor.h:219:32: error: 'struct ha_monitor' has no member >> named 'env_store' 219 | return READ_ONCE(ha_mon->env_store[env]) == ENV_INVALID_VALUE; | ^~ include/linux/compiler_types.h:635:53: note: in definition of macro '__unqual_scalar_typeof' 635 | #define __unqual_scalar_typeof(x) __typeof_unqual__(x) | ^ include/asm-generic/rwonce.h:50:9: note: in expansion of macro '__READ_ONCE' 50 | __READ_ONCE(x); \ | ^~~~~~~~~~~ include/rv/ha_monitor.h:219:16: note: in expansion of macro 'READ_ONCE' 219 | return READ_ONCE(ha_mon->env_store[env]) == ENV_INVALID_VALUE; | ^~~~~~~~~ >> include/rv/ha_monitor.h:219:32: error: 'struct ha_monitor' has no member >> named 'env_store' 219 | return READ_ONCE(ha_mon->env_store[env]) == ENV_INVALID_VALUE; | ^~ include/asm-generic/rwonce.h:44:73: note: in definition of macro '__READ_ONCE' 44 | #define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x)) | ^ include/rv/ha_monitor.h:219:16: note: in expansion of macro 'READ_ONCE' 219 | return READ_ONCE(ha_mon->env_store[env]) == ENV_INVALID_VALUE; | ^~~~~~~~~ >> include/rv/ha_monitor.h:217:80: warning: parameter 'env' set but not used >> [-Wunused-but-set-parameter=] 217 | static inline bool ha_monitor_env_invalid(struct ha_monitor *ha_mon, enum envs env) | ~~~~~~~~~~^~~ include/rv/ha_monitor.h: In function 'ha_monitor_handle_constraint': >> include/linux/container_of.h:8:47: error: 'struct ha_monitor' has no member >> named 'da_mon' 8 | #define typeof_member(T, m) typeof(((T*)0)->m) | ^~ include/linux/build_bug.h:80:56: note: in definition of macro '__static_assert' 80 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ include/linux/container_of.h:20:9: note: in expansion of macro 'static_assert' 20 | static_assert(__same_type(*(ptr), typeof_member(type, member)) || \ | ^~~~~~~~~~~~~ include/linux/container_of.h:20:23: note: in expansion of macro '__same_type' 20 | static_assert(__same_type(*(ptr), typeof_member(type, member)) || \ | ^~~~~~~~~~~ include/linux/container_of.h:20:43: note: in expansion of macro 'typeof_member' 20 | static_assert(__same_type(*(ptr), typeof_member(type, member)) || \ | ^~~~~~~~~~~~~ include/rv/ha_monitor.h:68:27: note: in expansion of macro 'container_of' 68 | #define to_ha_monitor(da) container_of(da, struct ha_monitor, da_mon) | ^~~~~~~~~~~~ include/rv/ha_monitor.h:286:37: note: in expansion of macro 'to_ha_monitor' 286 | struct ha_monitor *ha_mon = to_ha_monitor(da_mon); | ^~~~~~~~~~~~~ include/linux/compiler_types.h:610:27: error: expression in static assertion is not an integer 610 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:80:56: note: in definition of macro '__static_assert' 80 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ include/linux/container_of.h:20:9: note: in expansion of macro 'static_assert' 20 | static_assert(__same_type(*(ptr), typeof_member(type, member)) || \ | ^~~~~~~~~~~~~ include/linux/container_of.h:20:23: note: in expansion of macro '__same_type' 20 | static_assert(__same_type(*(ptr), typeof_member(type, member)) || \ | ^~~~~~~~~~~ include/rv/ha_monitor.h:68:27: note: in expansion of macro 'container_of' 68 | #define to_ha_monitor(da) container_of(da, struct ha_monitor, da_mon) | ^~~~~~~~~~~~ include/rv/ha_monitor.h:286:37: note: in expansion of macro 'to_ha_monitor' 286 | struct ha_monitor *ha_mon = to_ha_monitor(da_mon); | ^~~~~~~~~~~~~ >> include/linux/stddef.h:16:33: error: 'struct ha_monitor' has no member named >> 'da_mon' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ include/linux/container_of.h:23:34: note: in expansion of macro 'offsetof' 23 | (type *)((void *)(ptr) - offsetof(type, member)); }) | ^~~~~~~~ include/rv/ha_monitor.h:68:27: note: in expansion of macro 'container_of' 68 | #define to_ha_monitor(da) container_of(da, struct ha_monitor, da_mon) | ^~~~~~~~~~~~ include/rv/ha_monitor.h:286:37: note: in expansion of macro 'to_ha_monitor' 286 | struct ha_monitor *ha_mon = to_ha_monitor(da_mon); | ^~~~~~~~~~~~~ include/rv/ha_monitor.h: In function '__ha_monitor_timer_callback': >> include/rv/ha_monitor.h:321:46: error: 'struct ha_monitor' has no member >> named 'da_mon' 321 | curr_state = smp_load_acquire(&ha_mon->da_mon.curr_state); | ^~ include/linux/compiler_types.h:635:53: note: in definition of macro '__unqual_scalar_typeof' 635 | #define __unqual_scalar_typeof(x) __typeof_unqual__(x) | ^ include/rv/ha_monitor.h:321:22: note: in expansion of macro 'smp_load_acquire' 321 | curr_state = smp_load_acquire(&ha_mon->da_mon.curr_state); | ^~~~~~~~~~~~~~~~ >> include/rv/ha_monitor.h:321:46: error: 'struct ha_monitor' has no member >> named 'da_mon' 321 | curr_state = smp_load_acquire(&ha_mon->da_mon.curr_state); | ^~ include/linux/compiler_types.h:682:23: note: in definition of macro '__compiletime_assert' 682 | if (!(condition)) \ | ^~~~~~~~~ include/linux/compiler_types.h:702:9: note: in expansion of macro '_compiletime_assert' 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:9: note: in expansion of macro 'compiletime_assert' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:28: note: in expansion of macro '__native_word' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~ include/asm-generic/rwonce.h:49:9: note: in expansion of macro 'compiletime_assert_rwonce_type' 49 | compiletime_assert_rwonce_type(x); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/barrier.h:204:44: note: in expansion of macro 'READ_ONCE' 204 | __unqual_scalar_typeof(*p) ___p1 = READ_ONCE(*p); \ | ^~~~~~~~~ include/rv/ha_monitor.h:321:22: note: in expansion of macro 'smp_load_acquire' 321 | curr_state = smp_load_acquire(&ha_mon->da_mon.curr_state); | ^~~~~~~~~~~~~~~~ include/rv/ha_monitor.h:321:46: error: 'struct ha_monitor' has no member named 'da_mon' 321 | curr_state = smp_load_acquire(&ha_mon->da_mon.curr_state); | ^~ include/linux/compiler_types.h:682:23: note: in definition of macro '__compiletime_assert' 682 | if (!(condition)) \ | ^~~~~~~~~ include/linux/compiler_types.h:702:9: note: in expansion of macro '_compiletime_assert' 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:9: note: in expansion of macro 'compiletime_assert' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:28: note: in expansion of macro '__native_word' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~ include/asm-generic/rwonce.h:49:9: note: in expansion of macro 'compiletime_assert_rwonce_type' 49 | compiletime_assert_rwonce_type(x); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/barrier.h:204:44: note: in expansion of macro 'READ_ONCE' 204 | __unqual_scalar_typeof(*p) ___p1 = READ_ONCE(*p); \ | ^~~~~~~~~ include/rv/ha_monitor.h:321:22: note: in expansion of macro 'smp_load_acquire' 321 | curr_state = smp_load_acquire(&ha_mon->da_mon.curr_state); | ^~~~~~~~~~~~~~~~ include/rv/ha_monitor.h:321:46: error: 'struct ha_monitor' has no member named 'da_mon' 321 | curr_state = smp_load_acquire(&ha_mon->da_mon.curr_state); | ^~ include/linux/compiler_types.h:682:23: note: in definition of macro '__compiletime_assert' 682 | if (!(condition)) \ | ^~~~~~~~~ include/linux/compiler_types.h:702:9: note: in expansion of macro '_compiletime_assert' 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:9: note: in expansion of macro 'compiletime_assert' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:28: note: in expansion of macro '__native_word' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~ include/asm-generic/rwonce.h:49:9: note: in expansion of macro 'compiletime_assert_rwonce_type' 49 | compiletime_assert_rwonce_type(x); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/barrier.h:204:44: note: in expansion of macro 'READ_ONCE' 204 | __unqual_scalar_typeof(*p) ___p1 = READ_ONCE(*p); \ | ^~~~~~~~~ include/rv/ha_monitor.h:321:22: note: in expansion of macro 'smp_load_acquire' 321 | curr_state = smp_load_acquire(&ha_mon->da_mon.curr_state); | ^~~~~~~~~~~~~~~~ include/rv/ha_monitor.h:321:46: error: 'struct ha_monitor' has no member named 'da_mon' 321 | curr_state = smp_load_acquire(&ha_mon->da_mon.curr_state); | ^~ include/linux/compiler_types.h:682:23: note: in definition of macro '__compiletime_assert' 682 | if (!(condition)) \ | ^~~~~~~~~ include/linux/compiler_types.h:702:9: note: in expansion of macro '_compiletime_assert' 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:9: note: in expansion of macro 'compiletime_assert' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:28: note: in expansion of macro '__native_word' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~ include/asm-generic/rwonce.h:49:9: note: in expansion of macro 'compiletime_assert_rwonce_type' 49 | compiletime_assert_rwonce_type(x); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/barrier.h:204:44: note: in expansion of macro 'READ_ONCE' 204 | __unqual_scalar_typeof(*p) ___p1 = READ_ONCE(*p); \ | ^~~~~~~~~ include/rv/ha_monitor.h:321:22: note: in expansion of macro 'smp_load_acquire' 321 | curr_state = smp_load_acquire(&ha_mon->da_mon.curr_state); | ^~~~~~~~~~~~~~~~ include/rv/ha_monitor.h:321:46: error: 'struct ha_monitor' has no member named 'da_mon' 321 | curr_state = smp_load_acquire(&ha_mon->da_mon.curr_state); | ^~ include/linux/compiler_types.h:682:23: note: in definition of macro '__compiletime_assert' 682 | if (!(condition)) \ vim +16 include/linux/stddef.h 6e2182874324727 Richard Knutsson 2006-09-30 14 ^1da177e4c3f415 Linus Torvalds 2005-04-16 15 #undef offsetof 14e83077d55ff4b Rasmus Villemoes 2022-03-23 @16 #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) 3876488444e7123 Denys Vlasenko 2015-03-09 17 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
