Hi Mark,
I love your patch! Perhaps something to improve:
[auto build test WARNING on tip/locking/core]
[also build test WARNING on linux/master linus/master v5.10-rc7 next-20201209]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Mark-Rutland/lockdep-report-brok...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
cb262935a166bdef0ccfe6e2adffa00c0f2d038a
config: mips-randconfig-r026-20201209 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
1968804ac726e7674d5de22bc2204b45857da344)
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
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
#
https://github.com/0day-ci/linux/commit/01544766d5d8d1aa2604444debae272f5...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Mark-Rutland/lockdep-report-broken-irq-restoration/20201210-023758
git checkout 01544766d5d8d1aa2604444debae272f53f058f9
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> kernel/locking/irqflag-debug.c:5:6: warning: no previous
prototype for function 'warn_bogus_irq_restore' [-Wmissing-prototypes]
void warn_bogus_irq_restore(bool *warned)
^
kernel/locking/irqflag-debug.c:5:1: note: declare 'static' if the function is
not intended to be used outside of this translation unit
void warn_bogus_irq_restore(bool *warned)
^
static
1 warning generated.
vim +/warn_bogus_irq_restore +5 kernel/locking/irqflag-debug.c
4
5 void warn_bogus_irq_restore(bool *warned)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org