* [dhowells-fs:fscache-iter 26/33] fs/afs/file.c:493:7: error: implicit declaration of function 'try_cmpxchg'; did you mean 'xa_cmpxchg'?
@ 2019-11-13 18:06 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-11-13 18:06 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2043 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git fscache-iter
head: f62d2e3b55357b54ea4a541e85200ecdccfce7b4
commit: 3a3a05f119f1a5ff8fef8d8dcdd41c5f60e96467 [26/33] afs: Use new fscache I/O API
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 7.4.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 3a3a05f119f1a5ff8fef8d8dcdd41c5f60e96467
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
fs/afs/file.c: In function 'afs_open_cache':
>> fs/afs/file.c:493:7: error: implicit declaration of function 'try_cmpxchg'; did you mean 'xa_cmpxchg'? [-Werror=implicit-function-declaration]
if (!try_cmpxchg(&af->cache_io, &old, handle)) {
^~~~~~~~~~~
xa_cmpxchg
cc1: some warnings being treated as errors
vim +493 fs/afs/file.c
474
475 /*
476 * Open the cache I/O handle.
477 */
478 static struct fscache_io_handle *afs_open_cache(struct file *file,
479 struct afs_vnode *vnode)
480 {
481 struct fscache_io_handle *handle, *old;
482 struct afs_file *af = file->private_data;
483
484 handle = af->cache_io;
485 if (handle)
486 return handle;
487
488 handle = fscache_open_io_handle(vnode->cache);
489 if (!handle)
490 return handle;
491
492 old = NULL;
> 493 if (!try_cmpxchg(&af->cache_io, &old, handle)) {
494 ASSERTCMP(old, ==, handle);
495 fscache_put_io_handle(handle);
496 }
497
498 return handle;
499 }
500
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 51333 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-11-13 18:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-13 18:06 [dhowells-fs:fscache-iter 26/33] fs/afs/file.c:493:7: error: implicit declaration of function 'try_cmpxchg'; did you mean 'xa_cmpxchg'? kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.