Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [jfern:rcu/repro-irq-loop 25/26] kernel/softirq.c:642:22: error: no member named 'rcu_read_unlock_special' in 'struct task_struct'
@ 2025-06-04 14:00 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-06-04 14:00 UTC (permalink / raw)
  To: Joel Fernandes; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git rcu/repro-irq-loop
head:   fa3bc34561eb0c8d8d6a0634a8cb953083255117
commit: 9b64249e95c159447bf6ca5adcd2fea32a91491d [25/26] HACK: Force rcu_r_u_s in tick_irq_exit()
config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20250604/202506042116.qdOac1Qk-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250604/202506042116.qdOac1Qk-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/202506042116.qdOac1Qk-lkp@intel.com/

All errors (new ones prefixed by >>):

>> kernel/softirq.c:642:22: error: no member named 'rcu_read_unlock_special' in 'struct task_struct'
     642 |         WRITE_ONCE(current->rcu_read_unlock_special.b.need_qs, true);
         |                    ~~~~~~~  ^
   include/asm-generic/rwonce.h:60:33: note: expanded from macro 'WRITE_ONCE'
      60 |         compiletime_assert_rwonce_type(x);                              \
         |                                        ^
   include/asm-generic/rwonce.h:36:35: note: expanded from macro 'compiletime_assert_rwonce_type'
      36 |         compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long),  \
         |                                          ^
   include/linux/compiler_types.h:524:10: note: expanded from macro '__native_word'
     524 |         (sizeof(t) == sizeof(char) || sizeof(t) == sizeof(short) || \
         |                 ^
   include/linux/compiler_types.h:557:22: note: expanded from macro 'compiletime_assert'
     557 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |                             ^~~~~~~~~
   include/linux/compiler_types.h:545:23: note: expanded from macro '_compiletime_assert'
     545 |         __compiletime_assert(condition, msg, prefix, suffix)
         |                              ^~~~~~~~~
   include/linux/compiler_types.h:537:9: note: expanded from macro '__compiletime_assert'
     537 |                 if (!(condition))                                       \
         |                       ^~~~~~~~~
>> kernel/softirq.c:642:22: error: no member named 'rcu_read_unlock_special' in 'struct task_struct'
     642 |         WRITE_ONCE(current->rcu_read_unlock_special.b.need_qs, true);
         |                    ~~~~~~~  ^
   include/asm-generic/rwonce.h:60:33: note: expanded from macro 'WRITE_ONCE'
      60 |         compiletime_assert_rwonce_type(x);                              \
         |                                        ^
   include/asm-generic/rwonce.h:36:35: note: expanded from macro 'compiletime_assert_rwonce_type'
      36 |         compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long),  \
         |                                          ^
   include/linux/compiler_types.h:524:39: note: expanded from macro '__native_word'
     524 |         (sizeof(t) == sizeof(char) || sizeof(t) == sizeof(short) || \
         |                                              ^
   include/linux/compiler_types.h:557:22: note: expanded from macro 'compiletime_assert'
     557 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |                             ^~~~~~~~~
   include/linux/compiler_types.h:545:23: note: expanded from macro '_compiletime_assert'
     545 |         __compiletime_assert(condition, msg, prefix, suffix)
         |                              ^~~~~~~~~
   include/linux/compiler_types.h:537:9: note: expanded from macro '__compiletime_assert'
     537 |                 if (!(condition))                                       \
         |                       ^~~~~~~~~
>> kernel/softirq.c:642:22: error: no member named 'rcu_read_unlock_special' in 'struct task_struct'
     642 |         WRITE_ONCE(current->rcu_read_unlock_special.b.need_qs, true);
         |                    ~~~~~~~  ^
   include/asm-generic/rwonce.h:60:33: note: expanded from macro 'WRITE_ONCE'
      60 |         compiletime_assert_rwonce_type(x);                              \
         |                                        ^
   include/asm-generic/rwonce.h:36:35: note: expanded from macro 'compiletime_assert_rwonce_type'
      36 |         compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long),  \
         |                                          ^
   include/linux/compiler_types.h:525:10: note: expanded from macro '__native_word'
     525 |          sizeof(t) == sizeof(int) || sizeof(t) == sizeof(long))
         |                 ^
   include/linux/compiler_types.h:557:22: note: expanded from macro 'compiletime_assert'
     557 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |                             ^~~~~~~~~
   include/linux/compiler_types.h:545:23: note: expanded from macro '_compiletime_assert'
     545 |         __compiletime_assert(condition, msg, prefix, suffix)
         |                              ^~~~~~~~~
   include/linux/compiler_types.h:537:9: note: expanded from macro '__compiletime_assert'
     537 |                 if (!(condition))                                       \
         |                       ^~~~~~~~~
>> kernel/softirq.c:642:22: error: no member named 'rcu_read_unlock_special' in 'struct task_struct'
     642 |         WRITE_ONCE(current->rcu_read_unlock_special.b.need_qs, true);
         |                    ~~~~~~~  ^
   include/asm-generic/rwonce.h:60:33: note: expanded from macro 'WRITE_ONCE'
      60 |         compiletime_assert_rwonce_type(x);                              \
         |                                        ^
   include/asm-generic/rwonce.h:36:35: note: expanded from macro 'compiletime_assert_rwonce_type'
      36 |         compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long),  \
         |                                          ^
   include/linux/compiler_types.h:525:38: note: expanded from macro '__native_word'
     525 |          sizeof(t) == sizeof(int) || sizeof(t) == sizeof(long))
         |                                             ^
   include/linux/compiler_types.h:557:22: note: expanded from macro 'compiletime_assert'
     557 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |                             ^~~~~~~~~
   include/linux/compiler_types.h:545:23: note: expanded from macro '_compiletime_assert'
     545 |         __compiletime_assert(condition, msg, prefix, suffix)
         |                              ^~~~~~~~~
   include/linux/compiler_types.h:537:9: note: expanded from macro '__compiletime_assert'
     537 |                 if (!(condition))                                       \
         |                       ^~~~~~~~~
>> kernel/softirq.c:642:22: error: no member named 'rcu_read_unlock_special' in 'struct task_struct'
     642 |         WRITE_ONCE(current->rcu_read_unlock_special.b.need_qs, true);
         |                    ~~~~~~~  ^
   include/asm-generic/rwonce.h:60:33: note: expanded from macro 'WRITE_ONCE'
      60 |         compiletime_assert_rwonce_type(x);                              \
         |                                        ^
   include/asm-generic/rwonce.h:36:48: note: expanded from macro 'compiletime_assert_rwonce_type'
      36 |         compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long),  \
         |                                                       ^
   include/linux/compiler_types.h:557:22: note: expanded from macro 'compiletime_assert'
     557 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |                             ^~~~~~~~~
   include/linux/compiler_types.h:545:23: note: expanded from macro '_compiletime_assert'
     545 |         __compiletime_assert(condition, msg, prefix, suffix)
         |                              ^~~~~~~~~
   include/linux/compiler_types.h:537:9: note: expanded from macro '__compiletime_assert'
     537 |                 if (!(condition))                                       \
         |                       ^~~~~~~~~
>> kernel/softirq.c:642:22: error: no member named 'rcu_read_unlock_special' in 'struct task_struct'
     642 |         WRITE_ONCE(current->rcu_read_unlock_special.b.need_qs, true);
         |                    ~~~~~~~  ^
   include/asm-generic/rwonce.h:61:15: note: expanded from macro 'WRITE_ONCE'
      61 |         __WRITE_ONCE(x, val);                                           \
         |                      ^
   include/asm-generic/rwonce.h:55:20: note: expanded from macro '__WRITE_ONCE'
      55 |         *(volatile typeof(x) *)&(x) = (val);                            \
         |                           ^
>> kernel/softirq.c:642:22: error: no member named 'rcu_read_unlock_special' in 'struct task_struct'
     642 |         WRITE_ONCE(current->rcu_read_unlock_special.b.need_qs, true);
         |                    ~~~~~~~  ^
   include/asm-generic/rwonce.h:61:15: note: expanded from macro 'WRITE_ONCE'
      61 |         __WRITE_ONCE(x, val);                                           \
         |                      ^
   include/asm-generic/rwonce.h:55:27: note: expanded from macro '__WRITE_ONCE'
      55 |         *(volatile typeof(x) *)&(x) = (val);                            \
         |                                  ^
   7 errors generated.


vim +642 kernel/softirq.c

   638	
   639	static inline void tick_irq_exit(void)
   640	{
   641		rcu_read_lock();
 > 642		WRITE_ONCE(current->rcu_read_unlock_special.b.need_qs, true);
   643		rcu_read_unlock();
   644	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-06-04 14:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-04 14:00 [jfern:rcu/repro-irq-loop 25/26] kernel/softirq.c:642:22: error: no member named 'rcu_read_unlock_special' in 'struct task_struct' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox