lkml.org 
[lkml]   [2022]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[cilium:pr/meta5 4/4] include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
tree:   https://github.com/cilium/linux.git pr/meta5
head: 9c43c45e608fcb6fac0d8148662406a919ba9bee
commit: 9c43c45e608fcb6fac0d8148662406a919ba9bee [4/4] bpf: Add fd-based API to attach tc BPF programs
config: s390-randconfig-r025-20220712 (https://download.01.org/0day-ci/archive/20220713/202207131422.TaNxjjlB-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 11.3.0
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
# https://github.com/cilium/linux/commit/9c43c45e608fcb6fac0d8148662406a919ba9bee
git remote add cilium https://github.com/cilium/linux.git
git fetch --no-tags cilium pr/meta5
git checkout 9c43c45e608fcb6fac0d8148662406a919ba9bee
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash kernel/bpf/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

In file included from <command-line>:
include/net/sch_xgress.h: In function 'dev_sch_entry_update':
>> include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/linux/compiler_types.h:332:23: note: in definition of macro '__compiletime_assert'
332 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:352:9: note: in expansion of macro '_compiletime_assert'
352 | _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:60:9: note: in expansion of macro 'compiletime_assert_rwonce_type'
60 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:454:17: note: in expansion of macro 'WRITE_ONCE'
454 | WRITE_ONCE((p), (typeof(p))(_r_a_p__v)); \
| ^~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
>> include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/linux/compiler_types.h:332:23: note: in definition of macro '__compiletime_assert'
332 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:352:9: note: in expansion of macro '_compiletime_assert'
352 | _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:60:9: note: in expansion of macro 'compiletime_assert_rwonce_type'
60 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:454:17: note: in expansion of macro 'WRITE_ONCE'
454 | WRITE_ONCE((p), (typeof(p))(_r_a_p__v)); \
| ^~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
>> include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/linux/compiler_types.h:332:23: note: in definition of macro '__compiletime_assert'
332 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:352:9: note: in expansion of macro '_compiletime_assert'
352 | _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:60:9: note: in expansion of macro 'compiletime_assert_rwonce_type'
60 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:454:17: note: in expansion of macro 'WRITE_ONCE'
454 | WRITE_ONCE((p), (typeof(p))(_r_a_p__v)); \
| ^~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
>> include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/linux/compiler_types.h:332:23: note: in definition of macro '__compiletime_assert'
332 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:352:9: note: in expansion of macro '_compiletime_assert'
352 | _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:60:9: note: in expansion of macro 'compiletime_assert_rwonce_type'
60 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:454:17: note: in expansion of macro 'WRITE_ONCE'
454 | WRITE_ONCE((p), (typeof(p))(_r_a_p__v)); \
| ^~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
>> include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/linux/compiler_types.h:332:23: note: in definition of macro '__compiletime_assert'
332 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:352:9: note: in expansion of macro '_compiletime_assert'
352 | _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:60:9: note: in expansion of macro 'compiletime_assert_rwonce_type'
60 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:454:17: note: in expansion of macro 'WRITE_ONCE'
454 | WRITE_ONCE((p), (typeof(p))(_r_a_p__v)); \
| ^~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
In file included from ./arch/s390/include/generated/asm/rwonce.h:1,
from include/linux/compiler.h:248,
from include/linux/build_bug.h:5,
from include/linux/container_of.h:5,
from include/linux/list.h:5,
from include/linux/timer.h:5,
from include/linux/workqueue.h:9,
from include/linux/bpf.h:9,
from kernel/bpf/syscall.c:4:
>> include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/asm-generic/rwonce.h:61:9: note: in expansion of macro '__WRITE_ONCE'
61 | __WRITE_ONCE(x, val); \
| ^~~~~~~~~~~~
include/linux/rcupdate.h:454:17: note: in expansion of macro 'WRITE_ONCE'
454 | WRITE_ONCE((p), (typeof(p))(_r_a_p__v)); \
| ^~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
>> include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/asm-generic/rwonce.h:61:9: note: in expansion of macro '__WRITE_ONCE'
61 | __WRITE_ONCE(x, val); \
| ^~~~~~~~~~~~
include/linux/rcupdate.h:454:17: note: in expansion of macro 'WRITE_ONCE'
454 | WRITE_ONCE((p), (typeof(p))(_r_a_p__v)); \
| ^~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
>> include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/asm-generic/rwonce.h:61:9: note: in expansion of macro '__WRITE_ONCE'
61 | __WRITE_ONCE(x, val); \
| ^~~~~~~~~~~~
include/linux/rcupdate.h:454:17: note: in expansion of macro 'WRITE_ONCE'
454 | WRITE_ONCE((p), (typeof(p))(_r_a_p__v)); \
| ^~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
In file included from <command-line>:
>> include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/linux/compiler_types.h:332:23: note: in definition of macro '__compiletime_assert'
332 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:352:9: note: in expansion of macro '_compiletime_assert'
352 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:355:9: note: in expansion of macro 'compiletime_assert'
355 | compiletime_assert(__native_word(t), \
| ^~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:355:28: note: in expansion of macro '__native_word'
355 | compiletime_assert(__native_word(t), \
| ^~~~~~~~~~~~~
arch/s390/include/asm/barrier.h:40:9: note: in expansion of macro 'compiletime_assert_atomic_type'
40 | compiletime_assert_atomic_type(*p); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:164:55: note: in expansion of macro '__smp_store_release'
164 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0)
| ^~~~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:456:17: note: in expansion of macro 'smp_store_release'
456 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
| ^~~~~~~~~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
>> include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/linux/compiler_types.h:332:23: note: in definition of macro '__compiletime_assert'
332 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:352:9: note: in expansion of macro '_compiletime_assert'
352 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:355:9: note: in expansion of macro 'compiletime_assert'
355 | compiletime_assert(__native_word(t), \
| ^~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:355:28: note: in expansion of macro '__native_word'
355 | compiletime_assert(__native_word(t), \
| ^~~~~~~~~~~~~
arch/s390/include/asm/barrier.h:40:9: note: in expansion of macro 'compiletime_assert_atomic_type'
40 | compiletime_assert_atomic_type(*p); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:164:55: note: in expansion of macro '__smp_store_release'
164 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0)
| ^~~~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:456:17: note: in expansion of macro 'smp_store_release'
456 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
| ^~~~~~~~~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
>> include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/linux/compiler_types.h:332:23: note: in definition of macro '__compiletime_assert'
332 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:352:9: note: in expansion of macro '_compiletime_assert'
352 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:355:9: note: in expansion of macro 'compiletime_assert'
355 | compiletime_assert(__native_word(t), \
| ^~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:355:28: note: in expansion of macro '__native_word'
355 | compiletime_assert(__native_word(t), \
| ^~~~~~~~~~~~~
arch/s390/include/asm/barrier.h:40:9: note: in expansion of macro 'compiletime_assert_atomic_type'
40 | compiletime_assert_atomic_type(*p); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:164:55: note: in expansion of macro '__smp_store_release'
164 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0)
| ^~~~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:456:17: note: in expansion of macro 'smp_store_release'
456 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
| ^~~~~~~~~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
>> include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/linux/compiler_types.h:332:23: note: in definition of macro '__compiletime_assert'
332 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:352:9: note: in expansion of macro '_compiletime_assert'
352 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:355:9: note: in expansion of macro 'compiletime_assert'
355 | compiletime_assert(__native_word(t), \
| ^~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:355:28: note: in expansion of macro '__native_word'
355 | compiletime_assert(__native_word(t), \
| ^~~~~~~~~~~~~
arch/s390/include/asm/barrier.h:40:9: note: in expansion of macro 'compiletime_assert_atomic_type'
40 | compiletime_assert_atomic_type(*p); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:164:55: note: in expansion of macro '__smp_store_release'
164 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0)
| ^~~~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:456:17: note: in expansion of macro 'smp_store_release'
456 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
| ^~~~~~~~~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
>> include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/linux/compiler_types.h:332:23: note: in definition of macro '__compiletime_assert'
332 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:352:9: note: in expansion of macro '_compiletime_assert'
352 | _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:60:9: note: in expansion of macro 'compiletime_assert_rwonce_type'
60 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/s390/include/asm/barrier.h:42:9: note: in expansion of macro 'WRITE_ONCE'
42 | WRITE_ONCE(*p, v); \
| ^~~~~~~~~~
include/asm-generic/barrier.h:164:55: note: in expansion of macro '__smp_store_release'
164 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0)
| ^~~~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:456:17: note: in expansion of macro 'smp_store_release'
456 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
| ^~~~~~~~~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
>> include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/linux/compiler_types.h:332:23: note: in definition of macro '__compiletime_assert'
332 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:352:9: note: in expansion of macro '_compiletime_assert'
352 | _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:60:9: note: in expansion of macro 'compiletime_assert_rwonce_type'
60 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/s390/include/asm/barrier.h:42:9: note: in expansion of macro 'WRITE_ONCE'
42 | WRITE_ONCE(*p, v); \
| ^~~~~~~~~~
include/asm-generic/barrier.h:164:55: note: in expansion of macro '__smp_store_release'
164 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0)
| ^~~~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:456:17: note: in expansion of macro 'smp_store_release'
456 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
| ^~~~~~~~~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
>> include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/linux/compiler_types.h:332:23: note: in definition of macro '__compiletime_assert'
332 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:352:9: note: in expansion of macro '_compiletime_assert'
352 | _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:60:9: note: in expansion of macro 'compiletime_assert_rwonce_type'
60 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/s390/include/asm/barrier.h:42:9: note: in expansion of macro 'WRITE_ONCE'
42 | WRITE_ONCE(*p, v); \
| ^~~~~~~~~~
include/asm-generic/barrier.h:164:55: note: in expansion of macro '__smp_store_release'
164 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0)
| ^~~~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:456:17: note: in expansion of macro 'smp_store_release'
456 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
| ^~~~~~~~~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
>> include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/linux/compiler_types.h:332:23: note: in definition of macro '__compiletime_assert'
332 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:352:9: note: in expansion of macro '_compiletime_assert'
352 | _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:60:9: note: in expansion of macro 'compiletime_assert_rwonce_type'
60 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/s390/include/asm/barrier.h:42:9: note: in expansion of macro 'WRITE_ONCE'
42 | WRITE_ONCE(*p, v); \
| ^~~~~~~~~~
include/asm-generic/barrier.h:164:55: note: in expansion of macro '__smp_store_release'
164 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0)
| ^~~~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:456:17: note: in expansion of macro 'smp_store_release'
456 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
| ^~~~~~~~~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
>> include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/linux/compiler_types.h:332:23: note: in definition of macro '__compiletime_assert'
332 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:352:9: note: in expansion of macro '_compiletime_assert'
352 | _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:60:9: note: in expansion of macro 'compiletime_assert_rwonce_type'
60 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/s390/include/asm/barrier.h:42:9: note: in expansion of macro 'WRITE_ONCE'
42 | WRITE_ONCE(*p, v); \
| ^~~~~~~~~~
include/asm-generic/barrier.h:164:55: note: in expansion of macro '__smp_store_release'
164 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0)
| ^~~~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:456:17: note: in expansion of macro 'smp_store_release'
456 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
| ^~~~~~~~~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
In file included from ./arch/s390/include/generated/asm/rwonce.h:1,
from include/linux/compiler.h:248,
from include/linux/build_bug.h:5,
from include/linux/container_of.h:5,
from include/linux/list.h:5,
from include/linux/timer.h:5,
from include/linux/workqueue.h:9,
from include/linux/bpf.h:9,
from kernel/bpf/syscall.c:4:
>> include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/asm-generic/rwonce.h:61:9: note: in expansion of macro '__WRITE_ONCE'
61 | __WRITE_ONCE(x, val); \
| ^~~~~~~~~~~~
arch/s390/include/asm/barrier.h:42:9: note: in expansion of macro 'WRITE_ONCE'
42 | WRITE_ONCE(*p, v); \
| ^~~~~~~~~~
include/asm-generic/barrier.h:164:55: note: in expansion of macro '__smp_store_release'
164 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0)
| ^~~~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:456:17: note: in expansion of macro 'smp_store_release'
456 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
| ^~~~~~~~~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
>> include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/asm-generic/rwonce.h:61:9: note: in expansion of macro '__WRITE_ONCE'
61 | __WRITE_ONCE(x, val); \
| ^~~~~~~~~~~~
arch/s390/include/asm/barrier.h:42:9: note: in expansion of macro 'WRITE_ONCE'
42 | WRITE_ONCE(*p, v); \
| ^~~~~~~~~~
include/asm-generic/barrier.h:164:55: note: in expansion of macro '__smp_store_release'
164 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0)
| ^~~~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:456:17: note: in expansion of macro 'smp_store_release'
456 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
| ^~~~~~~~~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
>> include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/asm-generic/rwonce.h:61:9: note: in expansion of macro '__WRITE_ONCE'
61 | __WRITE_ONCE(x, val); \
| ^~~~~~~~~~~~
arch/s390/include/asm/barrier.h:42:9: note: in expansion of macro 'WRITE_ONCE'
42 | WRITE_ONCE(*p, v); \
| ^~~~~~~~~~
include/asm-generic/barrier.h:164:55: note: in expansion of macro '__smp_store_release'
164 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0)
| ^~~~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:456:17: note: in expansion of macro 'smp_store_release'
456 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
| ^~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:456:39: note: in expansion of macro 'RCU_INITIALIZER'
456 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
| ^~~~~~~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
include/net/sch_xgress.h:55:39: error: 'struct net_device' has no member named 'sch_ingress'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~
include/asm-generic/rwonce.h:61:9: note: in expansion of macro '__WRITE_ONCE'
61 | __WRITE_ONCE(x, val); \
| ^~~~~~~~~~~~
arch/s390/include/asm/barrier.h:42:9: note: in expansion of macro 'WRITE_ONCE'
42 | WRITE_ONCE(*p, v); \
| ^~~~~~~~~~
include/asm-generic/barrier.h:164:55: note: in expansion of macro '__smp_store_release'
164 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0)
| ^~~~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:456:17: note: in expansion of macro 'smp_store_release'
456 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
| ^~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:456:39: note: in expansion of macro 'RCU_INITIALIZER'
456 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
| ^~~~~~~~~~~~~~~
include/net/sch_xgress.h:55:17: note: in expansion of macro 'rcu_assign_pointer'
55 | rcu_assign_pointer(dev->sch_ingress, entry);
| ^~~~~~~~~~~~~~~~~~
In file included from <command-line>:
include/net/sch_xgress.h:57:39: error: 'struct net_device' has no member named 'sch_egress'
57 | rcu_assign_pointer(dev->sch_egress, entry);
| ^~
include/linux/compiler_types.h:332:23: note: in definition of macro '__compiletime_assert'
332 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:352:9: note: in expansion of macro '_compiletime_assert'
352 | _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:60:9: note: in expansion of macro 'compiletime_assert_rwonce_type'
60 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:454:17: note: in expansion of macro 'WRITE_ONCE'
454 | WRITE_ONCE((p), (typeof(p))(_r_a_p__v)); \
| ^~~~~~~~~~
include/net/sch_xgress.h:57:17: note: in expansion of macro 'rcu_assign_pointer'
57 | rcu_assign_pointer(dev->sch_egress, entry);
| ^~~~~~~~~~~~~~~~~~
include/net/sch_xgress.h:57:39: error: 'struct net_device' has no member named 'sch_egress'
57 | rcu_assign_pointer(dev->sch_egress, entry);
| ^~
include/linux/compiler_types.h:332:23: note: in definition of macro '__compiletime_assert'
332 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:352:9: note: in expansion of macro '_compiletime_assert'
352 | _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:60:9: note: in expansion of macro 'compiletime_assert_rwonce_type'
60 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/rcupdate.h:454:17: note: in expansion of macro 'WRITE_ONCE'
454 | WRITE_ONCE((p), (typeof(p))(_r_a_p__v)); \
| ^~~~~~~~~~
include/net/sch_xgress.h:57:17: note: in expansion of macro 'rcu_assign_pointer'
57 | rcu_assign_pointer(dev->sch_egress, entry);
| ^~~~~~~~~~~~~~~~~~
include/net/sch_xgress.h:57:39: error: 'struct net_device' has no member named 'sch_egress'
57 | rcu_assign_pointer(dev->sch_egress, entry);
| ^~
include/linux/compiler_types.h:332:23: note: in definition of macro '__compiletime_assert'
332 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:352:9: note: in expansion of macro '_compiletime_assert'
352 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/asm-generic/rwonce.h:36:9: note: in expansion of macro 'compiletime_assert'


vim +55 include/net/sch_xgress.h

48
49 static inline void
50 dev_sch_entry_update(struct net_device *dev, struct sch_entry *entry,
51 bool ingress)
52 {
53 ASSERT_RTNL();
54 if (ingress)
> 55 rcu_assign_pointer(dev->sch_ingress, entry);
56 else
> 57 rcu_assign_pointer(dev->sch_egress, entry);
58 }
59

--
0-DAY CI Kernel Test Service
https://01.org/lkp

\
 
 \ /
  Last update: 2022-07-13 08:45    [W:0.048 / U:2.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site