From: kernel test robot <lkp@intel.com>
To: wen.yang@linux.dev, Gabriele Monaco <gmonaco@redhat.com>
Cc: oe-kbuild-all@lists.linux.dev, Nam Cao <namcao@linutronix.de>,
linux-trace-kernel@vger.kernel.org, linux-kernel@vger.kernel.org,
Wen Yang <wen.yang@linux.dev>
Subject: Re: [PATCH v7 03/14] rv: Add a KUnit test for the HA timer underflow
Date: Mon, 12 Oct 2026 15:47:29 +0800 [thread overview]
Message-ID: <202610121540.5HFVLTni-lkp@intel.com> (raw)
In-Reply-To: <cdaf33af866392428f1942cef4e442b1d106989c.1791745088.git.wen.yang@linux.dev>
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/202610121540.5HFVLTni-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261012/202610121540.5HFVLTni-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610121540.5HFVLTni-lkp@intel.com/
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
next prev parent reply other threads:[~2026-10-12 7:48 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-11 19:39 [PATCH v7 00/14] rv: Add task latency over budget RV monitor wen.yang
2026-10-11 19:39 ` [PATCH v7 01/14] rv: Force environment reset action on HA monitor start wen.yang
2026-10-11 19:39 ` [PATCH v7 02/14] rv: Fix ha_monitor timer and invariant underflow wen.yang
2026-10-11 19:39 ` [PATCH v7 03/14] rv: Add a KUnit test for the HA timer underflow wen.yang
2026-10-11 19:52 ` sashiko-bot
2026-10-12 7:47 ` kernel test robot [this message]
2026-10-12 9:27 ` kernel test robot
2026-10-12 11:18 ` kernel test robot
2026-10-11 19:39 ` [PATCH v7 04/14] rv: Disarm HA timers on the storage free path wen.yang
2026-10-11 19:51 ` sashiko-bot
2026-10-11 19:39 ` [PATCH v7 05/14] rv: Add a KUnit test for " wen.yang
2026-10-11 19:50 ` sashiko-bot
2026-10-11 19:39 ` [PATCH v7 06/14] rv: Make da_monitor_reset_hook and EVENT_NONE_LBL overridable wen.yang
2026-10-11 19:53 ` sashiko-bot
2026-10-11 19:39 ` [PATCH v7 07/14] rv: Introduce DA_MON_ALLOCATION_STRATEGY wen.yang
2026-10-11 19:57 ` sashiko-bot
2026-10-11 19:39 ` [PATCH v7 08/14] rv: Add per-object teardown hook da_extra_cleanup wen.yang
2026-10-11 19:54 ` sashiko-bot
2026-10-11 19:39 ` [PATCH v7 09/14] rv: Add generic uprobe infrastructure for RV monitors wen.yang
2026-10-11 19:49 ` sashiko-bot
2026-10-11 19:39 ` [PATCH v7 10/14] rv: Add tlob model DOT file wen.yang
2026-10-11 19:39 ` [PATCH v7 11/14] rv: Add tlob hybrid automaton monitor wen.yang
2026-10-11 19:58 ` sashiko-bot
2026-10-11 19:39 ` [PATCH v7 12/14] rv: Add KUnit tests for the tlob monitor wen.yang
2026-10-11 19:39 ` [PATCH v7 13/14] selftests/verification: Add tlob selftests wen.yang
2026-10-11 19:51 ` sashiko-bot
2026-10-11 19:39 ` [PATCH v7 14/14] selftests/ftrace: Walk up parent dirs to find test.d/functions wen.yang
2026-10-12 11:58 ` [PATCH v7 00/14] rv: Add task latency over budget RV monitor Gabriele Monaco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202610121540.5HFVLTni-lkp@intel.com \
--to=lkp@intel.com \
--cc=gmonaco@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=namcao@linutronix.de \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=wen.yang@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.