From: kernel test robot <lkp@intel.com>
To: Minchan Kim <minchan@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Subject: [rt-devel:linux-5.16.y-rt-rebase 102/127] kernel/locking/spinlock.c:306:9: error: implicit declaration of function '__raw_write_lock_nested'; did you mean '_raw_write_lock_nested'?
Date: Sat, 8 Jan 2022 17:32:01 +0800 [thread overview]
Message-ID: <202201081743.6XKFffqI-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-5.16.y-rt-rebase
head: a6be65cb880860db356744acca5d49bf43ac0e94
commit: a80864a2a62f4fc6fd4061092d0996ef870d7a9d [102/127] locking/rwlocks: introduce write_lock_nested
config: sparc64-randconfig-p002-20220107 (https://download.01.org/0day-ci/archive/20220108/202201081743.6XKFffqI-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/commit/?id=a80864a2a62f4fc6fd4061092d0996ef870d7a9d
git remote add rt-devel https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
git fetch --no-tags rt-devel linux-5.16.y-rt-rebase
git checkout a80864a2a62f4fc6fd4061092d0996ef870d7a9d
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sparc64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
kernel/locking/spinlock.c:68:17: warning: no previous prototype for '__raw_spin_lock' [-Wmissing-prototypes]
68 | void __lockfunc __raw_##op##_lock(locktype##_t *lock) \
| ^~~~~~
kernel/locking/spinlock.c:126:1: note: in expansion of macro 'BUILD_LOCK_OPS'
126 | BUILD_LOCK_OPS(spin, raw_spinlock);
| ^~~~~~~~~~~~~~
kernel/locking/spinlock.c:80:26: warning: no previous prototype for '__raw_spin_lock_irqsave' [-Wmissing-prototypes]
80 | unsigned long __lockfunc __raw_##op##_lock_irqsave(locktype##_t *lock) \
| ^~~~~~
kernel/locking/spinlock.c:126:1: note: in expansion of macro 'BUILD_LOCK_OPS'
126 | BUILD_LOCK_OPS(spin, raw_spinlock);
| ^~~~~~~~~~~~~~
kernel/locking/spinlock.c:98:17: warning: no previous prototype for '__raw_spin_lock_irq' [-Wmissing-prototypes]
98 | void __lockfunc __raw_##op##_lock_irq(locktype##_t *lock) \
| ^~~~~~
kernel/locking/spinlock.c:126:1: note: in expansion of macro 'BUILD_LOCK_OPS'
126 | BUILD_LOCK_OPS(spin, raw_spinlock);
| ^~~~~~~~~~~~~~
kernel/locking/spinlock.c:103:17: warning: no previous prototype for '__raw_spin_lock_bh' [-Wmissing-prototypes]
103 | void __lockfunc __raw_##op##_lock_bh(locktype##_t *lock) \
| ^~~~~~
kernel/locking/spinlock.c:126:1: note: in expansion of macro 'BUILD_LOCK_OPS'
126 | BUILD_LOCK_OPS(spin, raw_spinlock);
| ^~~~~~~~~~~~~~
kernel/locking/spinlock.c:68:17: warning: no previous prototype for '__raw_read_lock' [-Wmissing-prototypes]
68 | void __lockfunc __raw_##op##_lock(locktype##_t *lock) \
| ^~~~~~
kernel/locking/spinlock.c:129:1: note: in expansion of macro 'BUILD_LOCK_OPS'
129 | BUILD_LOCK_OPS(read, rwlock);
| ^~~~~~~~~~~~~~
kernel/locking/spinlock.c:80:26: warning: no previous prototype for '__raw_read_lock_irqsave' [-Wmissing-prototypes]
80 | unsigned long __lockfunc __raw_##op##_lock_irqsave(locktype##_t *lock) \
| ^~~~~~
kernel/locking/spinlock.c:129:1: note: in expansion of macro 'BUILD_LOCK_OPS'
129 | BUILD_LOCK_OPS(read, rwlock);
| ^~~~~~~~~~~~~~
kernel/locking/spinlock.c:98:17: warning: no previous prototype for '__raw_read_lock_irq' [-Wmissing-prototypes]
98 | void __lockfunc __raw_##op##_lock_irq(locktype##_t *lock) \
| ^~~~~~
kernel/locking/spinlock.c:129:1: note: in expansion of macro 'BUILD_LOCK_OPS'
129 | BUILD_LOCK_OPS(read, rwlock);
| ^~~~~~~~~~~~~~
kernel/locking/spinlock.c:103:17: warning: no previous prototype for '__raw_read_lock_bh' [-Wmissing-prototypes]
103 | void __lockfunc __raw_##op##_lock_bh(locktype##_t *lock) \
| ^~~~~~
kernel/locking/spinlock.c:129:1: note: in expansion of macro 'BUILD_LOCK_OPS'
129 | BUILD_LOCK_OPS(read, rwlock);
| ^~~~~~~~~~~~~~
kernel/locking/spinlock.c:68:17: warning: no previous prototype for '__raw_write_lock' [-Wmissing-prototypes]
68 | void __lockfunc __raw_##op##_lock(locktype##_t *lock) \
| ^~~~~~
kernel/locking/spinlock.c:130:1: note: in expansion of macro 'BUILD_LOCK_OPS'
130 | BUILD_LOCK_OPS(write, rwlock);
| ^~~~~~~~~~~~~~
kernel/locking/spinlock.c:80:26: warning: no previous prototype for '__raw_write_lock_irqsave' [-Wmissing-prototypes]
80 | unsigned long __lockfunc __raw_##op##_lock_irqsave(locktype##_t *lock) \
| ^~~~~~
kernel/locking/spinlock.c:130:1: note: in expansion of macro 'BUILD_LOCK_OPS'
130 | BUILD_LOCK_OPS(write, rwlock);
| ^~~~~~~~~~~~~~
kernel/locking/spinlock.c:98:17: warning: no previous prototype for '__raw_write_lock_irq' [-Wmissing-prototypes]
98 | void __lockfunc __raw_##op##_lock_irq(locktype##_t *lock) \
| ^~~~~~
kernel/locking/spinlock.c:130:1: note: in expansion of macro 'BUILD_LOCK_OPS'
130 | BUILD_LOCK_OPS(write, rwlock);
| ^~~~~~~~~~~~~~
kernel/locking/spinlock.c:103:17: warning: no previous prototype for '__raw_write_lock_bh' [-Wmissing-prototypes]
103 | void __lockfunc __raw_##op##_lock_bh(locktype##_t *lock) \
| ^~~~~~
kernel/locking/spinlock.c:130:1: note: in expansion of macro 'BUILD_LOCK_OPS'
130 | BUILD_LOCK_OPS(write, rwlock);
| ^~~~~~~~~~~~~~
kernel/locking/spinlock.c: In function '_raw_write_lock_nested':
>> kernel/locking/spinlock.c:306:9: error: implicit declaration of function '__raw_write_lock_nested'; did you mean '_raw_write_lock_nested'? [-Werror=implicit-function-declaration]
306 | __raw_write_lock_nested(lock, subclass);
| ^~~~~~~~~~~~~~~~~~~~~~~
| _raw_write_lock_nested
cc1: some warnings being treated as errors
vim +306 kernel/locking/spinlock.c
303
304 void __lockfunc _raw_write_lock_nested(rwlock_t *lock, int subclass)
305 {
> 306 __raw_write_lock_nested(lock, subclass);
307 }
308 EXPORT_SYMBOL(_raw_write_lock_nested);
309 #endif
310
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2022-01-08 9:32 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=202201081743.6XKFffqI-lkp@intel.com \
--to=lkp@intel.com \
--cc=bigeasy@linutronix.de \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=minchan@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome