From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [dhowells-fs:fscache-iter 26/33] fs/afs/file.c:493:7: error: implicit declaration of function 'try_cmpxchg'; did you mean 'xa_cmpxchg'?
Date: Thu, 14 Nov 2019 02:06:20 +0800 [thread overview]
Message-ID: <201911140218.GyDIxUIp%lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2019-11-13 18:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201911140218.GyDIxUIp%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.