[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201805291325.cSk3rnbm%fengguang.wu@intel.com>
Date: Tue, 29 May 2018 13:04:32 +0800
From: kbuild test robot <lkp@...el.com>
To: Theodore Ts'o <tytso@....edu>
Cc: kbuild-all@...org, linux-ext4@...r.kernel.org
Subject: [ext4:fsverity 2/2] arch/ia64/include/asm/barrier.h:65:21: note: in
expansion of macro 'READ_ONCE'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git fsverity
head: 170fb32af57ab4d16a7b771a68b9ff5344a00a22
commit: 170fb32af57ab4d16a7b771a68b9ff5344a00a22 [2/2] ext4: add fsverity read support
config: ia64-defconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 8.1.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 170fb32af57ab4d16a7b771a68b9ff5344a00a22
# save the attached .config to linux build tree
make.cross ARCH=ia64
All warnings (new ones prefixed by >>):
In file included from include/linux/compiler.h:245,
from include/linux/kernel.h:10,
from fs/ext4/readpage.c:31:
fs/ext4/readpage.c: In function 'get_bio_post_read_ctx':
fs/ext4/readpage.c:162:32: error: 'struct inode' has no member named 'i_verity_info'; did you mean 'i_write_hint'?
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~
arch/ia64/include/asm/barrier.h:65:10: note: in definition of macro '__smp_load_acquire'
typeof(*p) ___p1 = READ_ONCE(*p); \
^
fs/ext4/readpage.c:162:7: note: in expansion of macro 'smp_load_acquire'
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~~~~
In file included from include/linux/kernel.h:10,
from fs/ext4/readpage.c:31:
fs/ext4/readpage.c:162:32: error: 'struct inode' has no member named 'i_verity_info'; did you mean 'i_write_hint'?
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~
include/linux/compiler.h:250:17: note: in definition of macro '__READ_ONCE'
union { typeof(x) __val; char __c[1]; } __u; \
^
>> arch/ia64/include/asm/barrier.h:65:21: note: in expansion of macro 'READ_ONCE'
typeof(*p) ___p1 = READ_ONCE(*p); \
^~~~~~~~~
include/asm-generic/barrier.h:161:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
fs/ext4/readpage.c:162:7: note: in expansion of macro 'smp_load_acquire'
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~~~~
fs/ext4/readpage.c:162:32: error: 'struct inode' has no member named 'i_verity_info'; did you mean 'i_write_hint'?
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~
include/linux/compiler.h:252:22: note: in definition of macro '__READ_ONCE'
__read_once_size(&(x), __u.__c, sizeof(x)); \
^
>> arch/ia64/include/asm/barrier.h:65:21: note: in expansion of macro 'READ_ONCE'
typeof(*p) ___p1 = READ_ONCE(*p); \
^~~~~~~~~
include/asm-generic/barrier.h:161:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
fs/ext4/readpage.c:162:7: note: in expansion of macro 'smp_load_acquire'
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~~~~
fs/ext4/readpage.c:162:32: error: 'struct inode' has no member named 'i_verity_info'; did you mean 'i_write_hint'?
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~
include/linux/compiler.h:252:42: note: in definition of macro '__READ_ONCE'
__read_once_size(&(x), __u.__c, sizeof(x)); \
^
>> arch/ia64/include/asm/barrier.h:65:21: note: in expansion of macro 'READ_ONCE'
typeof(*p) ___p1 = READ_ONCE(*p); \
^~~~~~~~~
include/asm-generic/barrier.h:161:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
fs/ext4/readpage.c:162:7: note: in expansion of macro 'smp_load_acquire'
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~~~~
fs/ext4/readpage.c:162:32: error: 'struct inode' has no member named 'i_verity_info'; did you mean 'i_write_hint'?
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~
include/linux/compiler.h:254:30: note: in definition of macro '__READ_ONCE'
__read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \
^
>> arch/ia64/include/asm/barrier.h:65:21: note: in expansion of macro 'READ_ONCE'
typeof(*p) ___p1 = READ_ONCE(*p); \
^~~~~~~~~
include/asm-generic/barrier.h:161:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
fs/ext4/readpage.c:162:7: note: in expansion of macro 'smp_load_acquire'
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~~~~
fs/ext4/readpage.c:162:32: error: 'struct inode' has no member named 'i_verity_info'; did you mean 'i_write_hint'?
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~
include/linux/compiler.h:254:50: note: in definition of macro '__READ_ONCE'
__read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \
^
>> arch/ia64/include/asm/barrier.h:65:21: note: in expansion of macro 'READ_ONCE'
typeof(*p) ___p1 = READ_ONCE(*p); \
^~~~~~~~~
include/asm-generic/barrier.h:161:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
fs/ext4/readpage.c:162:7: note: in expansion of macro 'smp_load_acquire'
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~~~~
fs/ext4/readpage.c:162:32: error: 'struct inode' has no member named 'i_verity_info'; did you mean 'i_write_hint'?
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~
include/linux/compiler.h:316:19: note: in definition of macro '__compiletime_assert'
bool __cond = !(condition); \
^~~~~~~~~
include/linux/compiler.h:339:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:342:2: note: in expansion of macro 'compiletime_assert'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~~~~~~
include/linux/compiler.h:342:21: note: in expansion of macro '__native_word'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~
>> arch/ia64/include/asm/barrier.h:66:2: note: in expansion of macro 'compiletime_assert_atomic_type'
compiletime_assert_atomic_type(*p); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:161:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
fs/ext4/readpage.c:162:7: note: in expansion of macro 'smp_load_acquire'
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~~~~
fs/ext4/readpage.c:162:32: error: 'struct inode' has no member named 'i_verity_info'; did you mean 'i_write_hint'?
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~
include/linux/compiler.h:316:19: note: in definition of macro '__compiletime_assert'
bool __cond = !(condition); \
^~~~~~~~~
include/linux/compiler.h:339:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:342:2: note: in expansion of macro 'compiletime_assert'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~~~~~~
include/linux/compiler.h:342:21: note: in expansion of macro '__native_word'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~
>> arch/ia64/include/asm/barrier.h:66:2: note: in expansion of macro 'compiletime_assert_atomic_type'
compiletime_assert_atomic_type(*p); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:161:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
fs/ext4/readpage.c:162:7: note: in expansion of macro 'smp_load_acquire'
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~~~~
fs/ext4/readpage.c:162:32: error: 'struct inode' has no member named 'i_verity_info'; did you mean 'i_write_hint'?
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~
include/linux/compiler.h:316:19: note: in definition of macro '__compiletime_assert'
bool __cond = !(condition); \
^~~~~~~~~
include/linux/compiler.h:339:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:342:2: note: in expansion of macro 'compiletime_assert'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~~~~~~
include/linux/compiler.h:342:21: note: in expansion of macro '__native_word'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~
>> arch/ia64/include/asm/barrier.h:66:2: note: in expansion of macro 'compiletime_assert_atomic_type'
compiletime_assert_atomic_type(*p); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:161:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
fs/ext4/readpage.c:162:7: note: in expansion of macro 'smp_load_acquire'
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~~~~
fs/ext4/readpage.c:162:32: error: 'struct inode' has no member named 'i_verity_info'; did you mean 'i_write_hint'?
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~
include/linux/compiler.h:316:19: note: in definition of macro '__compiletime_assert'
bool __cond = !(condition); \
^~~~~~~~~
include/linux/compiler.h:339:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:342:2: note: in expansion of macro 'compiletime_assert'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~~~~~~
include/linux/compiler.h:342:21: note: in expansion of macro '__native_word'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~
>> arch/ia64/include/asm/barrier.h:66:2: note: in expansion of macro 'compiletime_assert_atomic_type'
compiletime_assert_atomic_type(*p); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:161:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
fs/ext4/readpage.c:162:7: note: in expansion of macro 'smp_load_acquire'
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~~~~
fs/ext4/readpage.c:162:47: warning: comparison between pointer and integer
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~
--
In file included from include/linux/compiler.h:245,
from include/linux/kernel.h:10,
from fs//ext4/readpage.c:31:
fs//ext4/readpage.c: In function 'get_bio_post_read_ctx':
fs//ext4/readpage.c:162:32: error: 'struct inode' has no member named 'i_verity_info'; did you mean 'i_write_hint'?
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~
arch/ia64/include/asm/barrier.h:65:10: note: in definition of macro '__smp_load_acquire'
typeof(*p) ___p1 = READ_ONCE(*p); \
^
fs//ext4/readpage.c:162:7: note: in expansion of macro 'smp_load_acquire'
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~~~~
In file included from include/linux/kernel.h:10,
from fs//ext4/readpage.c:31:
fs//ext4/readpage.c:162:32: error: 'struct inode' has no member named 'i_verity_info'; did you mean 'i_write_hint'?
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~
include/linux/compiler.h:250:17: note: in definition of macro '__READ_ONCE'
union { typeof(x) __val; char __c[1]; } __u; \
^
>> arch/ia64/include/asm/barrier.h:65:21: note: in expansion of macro 'READ_ONCE'
typeof(*p) ___p1 = READ_ONCE(*p); \
^~~~~~~~~
include/asm-generic/barrier.h:161:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
fs//ext4/readpage.c:162:7: note: in expansion of macro 'smp_load_acquire'
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~~~~
fs//ext4/readpage.c:162:32: error: 'struct inode' has no member named 'i_verity_info'; did you mean 'i_write_hint'?
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~
include/linux/compiler.h:252:22: note: in definition of macro '__READ_ONCE'
__read_once_size(&(x), __u.__c, sizeof(x)); \
^
>> arch/ia64/include/asm/barrier.h:65:21: note: in expansion of macro 'READ_ONCE'
typeof(*p) ___p1 = READ_ONCE(*p); \
^~~~~~~~~
include/asm-generic/barrier.h:161:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
fs//ext4/readpage.c:162:7: note: in expansion of macro 'smp_load_acquire'
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~~~~
fs//ext4/readpage.c:162:32: error: 'struct inode' has no member named 'i_verity_info'; did you mean 'i_write_hint'?
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~
include/linux/compiler.h:252:42: note: in definition of macro '__READ_ONCE'
__read_once_size(&(x), __u.__c, sizeof(x)); \
^
>> arch/ia64/include/asm/barrier.h:65:21: note: in expansion of macro 'READ_ONCE'
typeof(*p) ___p1 = READ_ONCE(*p); \
^~~~~~~~~
include/asm-generic/barrier.h:161:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
fs//ext4/readpage.c:162:7: note: in expansion of macro 'smp_load_acquire'
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~~~~
fs//ext4/readpage.c:162:32: error: 'struct inode' has no member named 'i_verity_info'; did you mean 'i_write_hint'?
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~
include/linux/compiler.h:254:30: note: in definition of macro '__READ_ONCE'
__read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \
^
>> arch/ia64/include/asm/barrier.h:65:21: note: in expansion of macro 'READ_ONCE'
typeof(*p) ___p1 = READ_ONCE(*p); \
^~~~~~~~~
include/asm-generic/barrier.h:161:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
fs//ext4/readpage.c:162:7: note: in expansion of macro 'smp_load_acquire'
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~~~~
fs//ext4/readpage.c:162:32: error: 'struct inode' has no member named 'i_verity_info'; did you mean 'i_write_hint'?
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~
include/linux/compiler.h:254:50: note: in definition of macro '__READ_ONCE'
__read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \
^
>> arch/ia64/include/asm/barrier.h:65:21: note: in expansion of macro 'READ_ONCE'
typeof(*p) ___p1 = READ_ONCE(*p); \
^~~~~~~~~
include/asm-generic/barrier.h:161:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
fs//ext4/readpage.c:162:7: note: in expansion of macro 'smp_load_acquire'
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~~~~
fs//ext4/readpage.c:162:32: error: 'struct inode' has no member named 'i_verity_info'; did you mean 'i_write_hint'?
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~
include/linux/compiler.h:316:19: note: in definition of macro '__compiletime_assert'
bool __cond = !(condition); \
^~~~~~~~~
include/linux/compiler.h:339:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:342:2: note: in expansion of macro 'compiletime_assert'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~~~~~~
include/linux/compiler.h:342:21: note: in expansion of macro '__native_word'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~
>> arch/ia64/include/asm/barrier.h:66:2: note: in expansion of macro 'compiletime_assert_atomic_type'
compiletime_assert_atomic_type(*p); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:161:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
fs//ext4/readpage.c:162:7: note: in expansion of macro 'smp_load_acquire'
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~~~~
fs//ext4/readpage.c:162:32: error: 'struct inode' has no member named 'i_verity_info'; did you mean 'i_write_hint'?
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~
include/linux/compiler.h:316:19: note: in definition of macro '__compiletime_assert'
bool __cond = !(condition); \
^~~~~~~~~
include/linux/compiler.h:339:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:342:2: note: in expansion of macro 'compiletime_assert'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~~~~~~
include/linux/compiler.h:342:21: note: in expansion of macro '__native_word'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~
>> arch/ia64/include/asm/barrier.h:66:2: note: in expansion of macro 'compiletime_assert_atomic_type'
compiletime_assert_atomic_type(*p); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:161:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
fs//ext4/readpage.c:162:7: note: in expansion of macro 'smp_load_acquire'
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~~~~
fs//ext4/readpage.c:162:32: error: 'struct inode' has no member named 'i_verity_info'; did you mean 'i_write_hint'?
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~
include/linux/compiler.h:316:19: note: in definition of macro '__compiletime_assert'
bool __cond = !(condition); \
^~~~~~~~~
include/linux/compiler.h:339:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:342:2: note: in expansion of macro 'compiletime_assert'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~~~~~~
include/linux/compiler.h:342:21: note: in expansion of macro '__native_word'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~
>> arch/ia64/include/asm/barrier.h:66:2: note: in expansion of macro 'compiletime_assert_atomic_type'
compiletime_assert_atomic_type(*p); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:161:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
fs//ext4/readpage.c:162:7: note: in expansion of macro 'smp_load_acquire'
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~~~~
fs//ext4/readpage.c:162:32: error: 'struct inode' has no member named 'i_verity_info'; did you mean 'i_write_hint'?
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~
include/linux/compiler.h:316:19: note: in definition of macro '__compiletime_assert'
bool __cond = !(condition); \
^~~~~~~~~
include/linux/compiler.h:339:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:342:2: note: in expansion of macro 'compiletime_assert'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~~~~~~
include/linux/compiler.h:342:21: note: in expansion of macro '__native_word'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~
>> arch/ia64/include/asm/barrier.h:66:2: note: in expansion of macro 'compiletime_assert_atomic_type'
compiletime_assert_atomic_type(*p); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:161:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
fs//ext4/readpage.c:162:7: note: in expansion of macro 'smp_load_acquire'
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~~~~~~~~~~~~~~~
fs//ext4/readpage.c:162:47: warning: comparison between pointer and integer
(smp_load_acquire(&inode->i_verity_info) != NULL) &&
^~
vim +/READ_ONCE +65 arch/ia64/include/asm/barrier.h
47933ad4 Peter Zijlstra 2013-11-06 62
eebd1b92 Michael S. Tsirkin 2015-12-27 63 #define __smp_load_acquire(p) \
47933ad4 Peter Zijlstra 2013-11-06 64 ({ \
76695af2 Andrey Konovalov 2015-08-02 @65 typeof(*p) ___p1 = READ_ONCE(*p); \
47933ad4 Peter Zijlstra 2013-11-06 @66 compiletime_assert_atomic_type(*p); \
47933ad4 Peter Zijlstra 2013-11-06 67 barrier(); \
47933ad4 Peter Zijlstra 2013-11-06 68 ___p1; \
47933ad4 Peter Zijlstra 2013-11-06 69 })
47933ad4 Peter Zijlstra 2013-11-06 70
:::::: The code at line 65 was first introduced by commit
:::::: 76695af20c015206cffb84b15912be6797d0cca2 locking, arch: use WRITE_ONCE()/READ_ONCE() in smp_store_release()/smp_load_acquire()
:::::: TO: Andrey Konovalov <andreyknvl@...gle.com>
:::::: CC: Ingo Molnar <mingo@...nel.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (18005 bytes)
Powered by blists - more mailing lists