Search Linux Wireless

[mac80211-next:bpf 9/9] arch/arm64/include/asm/barrier.h:47:2: note: in expansion of macro 'compiletime_assert_atomic_type'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git bpf
head:   772b164e17bd40659b5a45e26389e4d9418162e4
commit: 772b164e17bd40659b5a45e26389e4d9418162e4 [9/9] mac80211: support bpf monitor filter
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 772b164e17bd40659b5a45e26389e4d9418162e4
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All warnings (new ones prefixed by >>):

   include/linux/compiler.h:333:17: note: in definition of macro 'WRITE_ONCE'
     union { typeof(x) __val; char __c[1]; } __u = \
                    ^
   net/mac80211/cfg.c:113:4: note: in expansion of macro 'RCU_INIT_POINTER'
       RCU_INIT_POINTER(sdata->u.mntr.filter, NULL);
       ^~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:113:34: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       RCU_INIT_POINTER(sdata->u.mntr.filter, NULL);
                                     ^
   include/linux/compiler.h:334:30: note: in definition of macro 'WRITE_ONCE'
      { .__val = (__force typeof(x)) (val) }; \
                                 ^
   net/mac80211/cfg.c:113:4: note: in expansion of macro 'RCU_INIT_POINTER'
       RCU_INIT_POINTER(sdata->u.mntr.filter, NULL);
       ^~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:113:34: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       RCU_INIT_POINTER(sdata->u.mntr.filter, NULL);
                                     ^
   include/linux/compiler.h:335:22: note: in definition of macro 'WRITE_ONCE'
     __write_once_size(&(x), __u.__c, sizeof(x)); \
                         ^
   net/mac80211/cfg.c:113:4: note: in expansion of macro 'RCU_INIT_POINTER'
       RCU_INIT_POINTER(sdata->u.mntr.filter, NULL);
       ^~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:113:34: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       RCU_INIT_POINTER(sdata->u.mntr.filter, NULL);
                                     ^
   include/linux/compiler.h:335:42: note: in definition of macro 'WRITE_ONCE'
     __write_once_size(&(x), __u.__c, sizeof(x)); \
                                             ^
   net/mac80211/cfg.c:113:4: note: in expansion of macro 'RCU_INIT_POINTER'
       RCU_INIT_POINTER(sdata->u.mntr.filter, NULL);
       ^~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   include/linux/compiler.h:333:17: note: in definition of macro 'WRITE_ONCE'
     union { typeof(x) __val; char __c[1]; } __u = \
                    ^
   net/mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   include/linux/compiler.h:334:30: note: in definition of macro 'WRITE_ONCE'
      { .__val = (__force typeof(x)) (val) }; \
                                 ^
   net/mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   include/linux/compiler.h:334:35: note: in definition of macro 'WRITE_ONCE'
      { .__val = (__force typeof(x)) (val) }; \
                                      ^~~
   net/mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   include/linux/compiler.h:335:22: note: in definition of macro 'WRITE_ONCE'
     __write_once_size(&(x), __u.__c, sizeof(x)); \
                         ^
   net/mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   include/linux/compiler.h:335:42: note: in definition of macro 'WRITE_ONCE'
     __write_once_size(&(x), __u.__c, sizeof(x)); \
                                             ^
   net/mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   In file included from include/uapi/linux/stddef.h:1:0,
                    from include/linux/stddef.h:4,
                    from include/uapi/linux/posix_types.h:4,
                    from include/uapi/linux/types.h:13,
                    from include/linux/types.h:5,
                    from include/linux/ieee80211.h:20,
                    from net/mac80211/cfg.c:11:
   net/mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   include/linux/compiler.h:509:19: note: in definition of macro '__compiletime_assert'
      bool __cond = !(condition);    \
                      ^~~~~~~~~
   include/linux/compiler.h:529:2: note: in expansion of macro '_compiletime_assert'
     _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
     ^~~~~~~~~~~~~~~~~~~
   include/linux/compiler.h:532:2: note: in expansion of macro 'compiletime_assert'
     compiletime_assert(__native_word(t),    \
     ^~~~~~~~~~~~~~~~~~
   include/linux/compiler.h:532:21: note: in expansion of macro '__native_word'
     compiletime_assert(__native_word(t),    \
                        ^~~~~~~~~~~~~
>> arch/arm64/include/asm/barrier.h:47:2: note: in expansion of macro 'compiletime_assert_atomic_type'
     compiletime_assert_atomic_type(*p);    \
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/asm-generic/barrier.h:157:33: note: in expansion of macro '__smp_store_release'
    #define smp_store_release(p, v) __smp_store_release(p, v)
                                    ^~~~~~~~~~~~~~~~~~~
   include/linux/rcupdate.h:632:3: note: in expansion of macro 'smp_store_release'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
      ^~~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   include/linux/compiler.h:509:19: note: in definition of macro '__compiletime_assert'
      bool __cond = !(condition);    \
                      ^~~~~~~~~
   include/linux/compiler.h:529:2: note: in expansion of macro '_compiletime_assert'
     _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
     ^~~~~~~~~~~~~~~~~~~
   include/linux/compiler.h:532:2: note: in expansion of macro 'compiletime_assert'
     compiletime_assert(__native_word(t),    \
     ^~~~~~~~~~~~~~~~~~
   include/linux/compiler.h:532:21: note: in expansion of macro '__native_word'
     compiletime_assert(__native_word(t),    \
                        ^~~~~~~~~~~~~
>> arch/arm64/include/asm/barrier.h:47:2: note: in expansion of macro 'compiletime_assert_atomic_type'
     compiletime_assert_atomic_type(*p);    \
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/asm-generic/barrier.h:157:33: note: in expansion of macro '__smp_store_release'
    #define smp_store_release(p, v) __smp_store_release(p, v)
                                    ^~~~~~~~~~~~~~~~~~~
   include/linux/rcupdate.h:632:3: note: in expansion of macro 'smp_store_release'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
      ^~~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   include/linux/compiler.h:509:19: note: in definition of macro '__compiletime_assert'
      bool __cond = !(condition);    \
                      ^~~~~~~~~
   include/linux/compiler.h:529:2: note: in expansion of macro '_compiletime_assert'
     _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
     ^~~~~~~~~~~~~~~~~~~
   include/linux/compiler.h:532:2: note: in expansion of macro 'compiletime_assert'
     compiletime_assert(__native_word(t),    \
     ^~~~~~~~~~~~~~~~~~
   include/linux/compiler.h:532:21: note: in expansion of macro '__native_word'
     compiletime_assert(__native_word(t),    \
                        ^~~~~~~~~~~~~
>> arch/arm64/include/asm/barrier.h:47:2: note: in expansion of macro 'compiletime_assert_atomic_type'
     compiletime_assert_atomic_type(*p);    \
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/asm-generic/barrier.h:157:33: note: in expansion of macro '__smp_store_release'
    #define smp_store_release(p, v) __smp_store_release(p, v)
                                    ^~~~~~~~~~~~~~~~~~~
   include/linux/rcupdate.h:632:3: note: in expansion of macro 'smp_store_release'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
      ^~~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   include/linux/compiler.h:509:19: note: in definition of macro '__compiletime_assert'
      bool __cond = !(condition);    \
                      ^~~~~~~~~
   include/linux/compiler.h:529:2: note: in expansion of macro '_compiletime_assert'
     _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
     ^~~~~~~~~~~~~~~~~~~
   include/linux/compiler.h:532:2: note: in expansion of macro 'compiletime_assert'
     compiletime_assert(__native_word(t),    \
     ^~~~~~~~~~~~~~~~~~
   include/linux/compiler.h:532:21: note: in expansion of macro '__native_word'
     compiletime_assert(__native_word(t),    \
                        ^~~~~~~~~~~~~
>> arch/arm64/include/asm/barrier.h:47:2: note: in expansion of macro 'compiletime_assert_atomic_type'
     compiletime_assert_atomic_type(*p);    \
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/asm-generic/barrier.h:157:33: note: in expansion of macro '__smp_store_release'
    #define smp_store_release(p, v) __smp_store_release(p, v)
                                    ^~~~~~~~~~~~~~~~~~~
   include/linux/rcupdate.h:632:3: note: in expansion of macro 'smp_store_release'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
      ^~~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   In file included from arch/arm64/include/asm/bitops.h:20:0,
                    from include/linux/bitops.h:36,
                    from include/linux/kernel.h:10,
                    from include/linux/skbuff.h:17,
                    from include/linux/if_ether.h:23,
                    from include/linux/ieee80211.h:21,
                    from net/mac80211/cfg.c:11:
   net/mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   arch/arm64/include/asm/barrier.h:48:18: note: in definition of macro '__smp_store_release'
     switch (sizeof(*p)) {      \
                     ^
   include/linux/rcupdate.h:632:3: note: in expansion of macro 'smp_store_release'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
      ^~~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   arch/arm64/include/asm/barrier.h:51:14: note: in definition of macro '__smp_store_release'
        : "=Q" (*p) : "r" (v) : "memory"); \
                 ^
   include/linux/rcupdate.h:632:3: note: in expansion of macro 'smp_store_release'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
      ^~~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   arch/arm64/include/asm/barrier.h:51:24: note: in definition of macro '__smp_store_release'
        : "=Q" (*p) : "r" (v) : "memory"); \
                           ^
   include/linux/rcupdate.h:632:3: note: in expansion of macro 'smp_store_release'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
      ^~~~~~~~~~~~~~~~~
   include/linux/rcupdate.h:632:25: note: in expansion of macro 'RCU_INITIALIZER'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
                            ^~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   arch/arm64/include/asm/barrier.h:51:24: note: in definition of macro '__smp_store_release'
        : "=Q" (*p) : "r" (v) : "memory"); \
                           ^
   include/linux/rcupdate.h:632:3: note: in expansion of macro 'smp_store_release'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
      ^~~~~~~~~~~~~~~~~
   include/linux/rcupdate.h:632:25: note: in expansion of macro 'RCU_INITIALIZER'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
                            ^~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   arch/arm64/include/asm/barrier.h:55:14: note: in definition of macro '__smp_store_release'
        : "=Q" (*p) : "r" (v) : "memory"); \
                 ^
   include/linux/rcupdate.h:632:3: note: in expansion of macro 'smp_store_release'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
      ^~~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   arch/arm64/include/asm/barrier.h:55:24: note: in definition of macro '__smp_store_release'
        : "=Q" (*p) : "r" (v) : "memory"); \
                           ^
   include/linux/rcupdate.h:632:3: note: in expansion of macro 'smp_store_release'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
      ^~~~~~~~~~~~~~~~~
   include/linux/rcupdate.h:632:25: note: in expansion of macro 'RCU_INITIALIZER'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
                            ^~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net/mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
--
   include/linux/compiler.h:333:17: note: in definition of macro 'WRITE_ONCE'
     union { typeof(x) __val; char __c[1]; } __u = \
                    ^
   net//mac80211/cfg.c:113:4: note: in expansion of macro 'RCU_INIT_POINTER'
       RCU_INIT_POINTER(sdata->u.mntr.filter, NULL);
       ^~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:113:34: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       RCU_INIT_POINTER(sdata->u.mntr.filter, NULL);
                                     ^
   include/linux/compiler.h:334:30: note: in definition of macro 'WRITE_ONCE'
      { .__val = (__force typeof(x)) (val) }; \
                                 ^
   net//mac80211/cfg.c:113:4: note: in expansion of macro 'RCU_INIT_POINTER'
       RCU_INIT_POINTER(sdata->u.mntr.filter, NULL);
       ^~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:113:34: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       RCU_INIT_POINTER(sdata->u.mntr.filter, NULL);
                                     ^
   include/linux/compiler.h:335:22: note: in definition of macro 'WRITE_ONCE'
     __write_once_size(&(x), __u.__c, sizeof(x)); \
                         ^
   net//mac80211/cfg.c:113:4: note: in expansion of macro 'RCU_INIT_POINTER'
       RCU_INIT_POINTER(sdata->u.mntr.filter, NULL);
       ^~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:113:34: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       RCU_INIT_POINTER(sdata->u.mntr.filter, NULL);
                                     ^
   include/linux/compiler.h:335:42: note: in definition of macro 'WRITE_ONCE'
     __write_once_size(&(x), __u.__c, sizeof(x)); \
                                             ^
   net//mac80211/cfg.c:113:4: note: in expansion of macro 'RCU_INIT_POINTER'
       RCU_INIT_POINTER(sdata->u.mntr.filter, NULL);
       ^~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   include/linux/compiler.h:333:17: note: in definition of macro 'WRITE_ONCE'
     union { typeof(x) __val; char __c[1]; } __u = \
                    ^
   net//mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   include/linux/compiler.h:334:30: note: in definition of macro 'WRITE_ONCE'
      { .__val = (__force typeof(x)) (val) }; \
                                 ^
   net//mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   include/linux/compiler.h:334:35: note: in definition of macro 'WRITE_ONCE'
      { .__val = (__force typeof(x)) (val) }; \
                                      ^~~
   net//mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   include/linux/compiler.h:335:22: note: in definition of macro 'WRITE_ONCE'
     __write_once_size(&(x), __u.__c, sizeof(x)); \
                         ^
   net//mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   include/linux/compiler.h:335:42: note: in definition of macro 'WRITE_ONCE'
     __write_once_size(&(x), __u.__c, sizeof(x)); \
                                             ^
   net//mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   In file included from include/uapi/linux/stddef.h:1:0,
                    from include/linux/stddef.h:4,
                    from include/uapi/linux/posix_types.h:4,
                    from include/uapi/linux/types.h:13,
                    from include/linux/types.h:5,
                    from include/linux/ieee80211.h:20,
                    from net//mac80211/cfg.c:11:
   net//mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   include/linux/compiler.h:509:19: note: in definition of macro '__compiletime_assert'
      bool __cond = !(condition);    \
                      ^~~~~~~~~
   include/linux/compiler.h:529:2: note: in expansion of macro '_compiletime_assert'
     _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
     ^~~~~~~~~~~~~~~~~~~
   include/linux/compiler.h:532:2: note: in expansion of macro 'compiletime_assert'
     compiletime_assert(__native_word(t),    \
     ^~~~~~~~~~~~~~~~~~
   include/linux/compiler.h:532:21: note: in expansion of macro '__native_word'
     compiletime_assert(__native_word(t),    \
                        ^~~~~~~~~~~~~
>> arch/arm64/include/asm/barrier.h:47:2: note: in expansion of macro 'compiletime_assert_atomic_type'
     compiletime_assert_atomic_type(*p);    \
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/asm-generic/barrier.h:157:33: note: in expansion of macro '__smp_store_release'
    #define smp_store_release(p, v) __smp_store_release(p, v)
                                    ^~~~~~~~~~~~~~~~~~~
   include/linux/rcupdate.h:632:3: note: in expansion of macro 'smp_store_release'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
      ^~~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   include/linux/compiler.h:509:19: note: in definition of macro '__compiletime_assert'
      bool __cond = !(condition);    \
                      ^~~~~~~~~
   include/linux/compiler.h:529:2: note: in expansion of macro '_compiletime_assert'
     _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
     ^~~~~~~~~~~~~~~~~~~
   include/linux/compiler.h:532:2: note: in expansion of macro 'compiletime_assert'
     compiletime_assert(__native_word(t),    \
     ^~~~~~~~~~~~~~~~~~
   include/linux/compiler.h:532:21: note: in expansion of macro '__native_word'
     compiletime_assert(__native_word(t),    \
                        ^~~~~~~~~~~~~
>> arch/arm64/include/asm/barrier.h:47:2: note: in expansion of macro 'compiletime_assert_atomic_type'
     compiletime_assert_atomic_type(*p);    \
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/asm-generic/barrier.h:157:33: note: in expansion of macro '__smp_store_release'
    #define smp_store_release(p, v) __smp_store_release(p, v)
                                    ^~~~~~~~~~~~~~~~~~~
   include/linux/rcupdate.h:632:3: note: in expansion of macro 'smp_store_release'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
      ^~~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   include/linux/compiler.h:509:19: note: in definition of macro '__compiletime_assert'
      bool __cond = !(condition);    \
                      ^~~~~~~~~
   include/linux/compiler.h:529:2: note: in expansion of macro '_compiletime_assert'
     _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
     ^~~~~~~~~~~~~~~~~~~
   include/linux/compiler.h:532:2: note: in expansion of macro 'compiletime_assert'
     compiletime_assert(__native_word(t),    \
     ^~~~~~~~~~~~~~~~~~
   include/linux/compiler.h:532:21: note: in expansion of macro '__native_word'
     compiletime_assert(__native_word(t),    \
                        ^~~~~~~~~~~~~
>> arch/arm64/include/asm/barrier.h:47:2: note: in expansion of macro 'compiletime_assert_atomic_type'
     compiletime_assert_atomic_type(*p);    \
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/asm-generic/barrier.h:157:33: note: in expansion of macro '__smp_store_release'
    #define smp_store_release(p, v) __smp_store_release(p, v)
                                    ^~~~~~~~~~~~~~~~~~~
   include/linux/rcupdate.h:632:3: note: in expansion of macro 'smp_store_release'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
      ^~~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   include/linux/compiler.h:509:19: note: in definition of macro '__compiletime_assert'
      bool __cond = !(condition);    \
                      ^~~~~~~~~
   include/linux/compiler.h:529:2: note: in expansion of macro '_compiletime_assert'
     _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
     ^~~~~~~~~~~~~~~~~~~
   include/linux/compiler.h:532:2: note: in expansion of macro 'compiletime_assert'
     compiletime_assert(__native_word(t),    \
     ^~~~~~~~~~~~~~~~~~
   include/linux/compiler.h:532:21: note: in expansion of macro '__native_word'
     compiletime_assert(__native_word(t),    \
                        ^~~~~~~~~~~~~
>> arch/arm64/include/asm/barrier.h:47:2: note: in expansion of macro 'compiletime_assert_atomic_type'
     compiletime_assert_atomic_type(*p);    \
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/asm-generic/barrier.h:157:33: note: in expansion of macro '__smp_store_release'
    #define smp_store_release(p, v) __smp_store_release(p, v)
                                    ^~~~~~~~~~~~~~~~~~~
   include/linux/rcupdate.h:632:3: note: in expansion of macro 'smp_store_release'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
      ^~~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   In file included from arch/arm64/include/asm/bitops.h:20:0,
                    from include/linux/bitops.h:36,
                    from include/linux/kernel.h:10,
                    from include/linux/skbuff.h:17,
                    from include/linux/if_ether.h:23,
                    from include/linux/ieee80211.h:21,
                    from net//mac80211/cfg.c:11:
   net//mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   arch/arm64/include/asm/barrier.h:48:18: note: in definition of macro '__smp_store_release'
     switch (sizeof(*p)) {      \
                     ^
   include/linux/rcupdate.h:632:3: note: in expansion of macro 'smp_store_release'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
      ^~~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   arch/arm64/include/asm/barrier.h:51:14: note: in definition of macro '__smp_store_release'
        : "=Q" (*p) : "r" (v) : "memory"); \
                 ^
   include/linux/rcupdate.h:632:3: note: in expansion of macro 'smp_store_release'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
      ^~~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   arch/arm64/include/asm/barrier.h:51:24: note: in definition of macro '__smp_store_release'
        : "=Q" (*p) : "r" (v) : "memory"); \
                           ^
   include/linux/rcupdate.h:632:3: note: in expansion of macro 'smp_store_release'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
      ^~~~~~~~~~~~~~~~~
   include/linux/rcupdate.h:632:25: note: in expansion of macro 'RCU_INITIALIZER'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
                            ^~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   arch/arm64/include/asm/barrier.h:51:24: note: in definition of macro '__smp_store_release'
        : "=Q" (*p) : "r" (v) : "memory"); \
                           ^
   include/linux/rcupdate.h:632:3: note: in expansion of macro 'smp_store_release'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
      ^~~~~~~~~~~~~~~~~
   include/linux/rcupdate.h:632:25: note: in expansion of macro 'RCU_INITIALIZER'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
                            ^~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   arch/arm64/include/asm/barrier.h:55:14: note: in definition of macro '__smp_store_release'
        : "=Q" (*p) : "r" (v) : "memory"); \
                 ^
   include/linux/rcupdate.h:632:3: note: in expansion of macro 'smp_store_release'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
      ^~~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'
       rcu_assign_pointer(sdata->u.mntr.filter,
                                       ^
   arch/arm64/include/asm/barrier.h:55:24: note: in definition of macro '__smp_store_release'
        : "=Q" (*p) : "r" (v) : "memory"); \
                           ^
   include/linux/rcupdate.h:632:3: note: in expansion of macro 'smp_store_release'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
      ^~~~~~~~~~~~~~~~~
   include/linux/rcupdate.h:632:25: note: in expansion of macro 'RCU_INITIALIZER'
      smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
                            ^~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:4: note: in expansion of macro 'rcu_assign_pointer'
       rcu_assign_pointer(sdata->u.mntr.filter,
       ^~~~~~~~~~~~~~~~~~
   net//mac80211/cfg.c:115:36: error: 'struct ieee80211_if_mntr' has no member named 'filter'

vim +/compiletime_assert_atomic_type +47 arch/arm64/include/asm/barrier.h

493e6874 Will Deacon        2014-05-02  31  #define dmb(opt)	asm volatile("dmb " #opt : : : "memory")
493e6874 Will Deacon        2014-05-02  32  #define dsb(opt)	asm volatile("dsb " #opt : : : "memory")
10b663ae Catalin Marinas    2012-03-05  33  
98f7685e Will Deacon        2014-05-02  34  #define mb()		dsb(sy)
493e6874 Will Deacon        2014-05-02  35  #define rmb()		dsb(ld)
493e6874 Will Deacon        2014-05-02  36  #define wmb()		dsb(st)
10b663ae Catalin Marinas    2012-03-05  37  
1077fa36 Alexander Duyck    2014-12-11  38  #define dma_rmb()	dmb(oshld)
1077fa36 Alexander Duyck    2014-12-11  39  #define dma_wmb()	dmb(oshst)
1077fa36 Alexander Duyck    2014-12-11  40  
fd072df8 Michael S. Tsirkin 2015-12-27  41  #define __smp_mb()	dmb(ish)
fd072df8 Michael S. Tsirkin 2015-12-27  42  #define __smp_rmb()	dmb(ishld)
fd072df8 Michael S. Tsirkin 2015-12-27  43  #define __smp_wmb()	dmb(ishst)
47933ad4 Peter Zijlstra     2013-11-06  44  
fd072df8 Michael S. Tsirkin 2015-12-27  45  #define __smp_store_release(p, v)						\
47933ad4 Peter Zijlstra     2013-11-06  46  do {									\
47933ad4 Peter Zijlstra     2013-11-06 @47  	compiletime_assert_atomic_type(*p);				\
47933ad4 Peter Zijlstra     2013-11-06  48  	switch (sizeof(*p)) {						\
878a84d5 Andre Przywara     2015-04-20  49  	case 1:								\
878a84d5 Andre Przywara     2015-04-20  50  		asm volatile ("stlrb %w1, %0"				\
878a84d5 Andre Przywara     2015-04-20  51  				: "=Q" (*p) : "r" (v) : "memory");	\
878a84d5 Andre Przywara     2015-04-20  52  		break;							\
878a84d5 Andre Przywara     2015-04-20  53  	case 2:								\
878a84d5 Andre Przywara     2015-04-20  54  		asm volatile ("stlrh %w1, %0"				\
878a84d5 Andre Przywara     2015-04-20  55  				: "=Q" (*p) : "r" (v) : "memory");	\

:::::: The code at line 47 was first introduced by commit
:::::: 47933ad41a86a4a9b50bed7c9b9bd2ba242aac63 arch: Introduce smp_load_acquire(), smp_store_release()

:::::: TO: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
:::::: CC: Ingo Molnar <mingo@xxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux