Re: [PATCH v3 3/4] kernel.h: Split out might_sleep() and friends

From: kbuild test robot
Date: Sun Feb 09 2020 - 15:54:20 EST


Hi Andy,

I love your patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on next-20200207]
[cannot apply to nfs/linux-next rcu/dev cryptodev/master crypto/master dennis-percpu/for-next tip/sched/core linux/master v5.5]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url: https://github.com/0day-ci/linux/commits/Andy-Shevchenko/kernel-h-Split-out-min-max-et-al-helpers/20200209-041358
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git f757165705e92db62f85a1ad287e9251d1f2cd82
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-162-g98276e61-dirty
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>


sparse warnings: (new ones prefixed by >>)

>> arch/x86/include/asm/current.h:11:1: sparse: sparse: 'DECLARE_PER_CPU()' has implicit return type

vim +11 arch/x86/include/asm/current.h

f0766440dda7ac include/asm-x86/current.h Christoph Lameter 2008-05-09 10
f0766440dda7ac include/asm-x86/current.h Christoph Lameter 2008-05-09 @11 DECLARE_PER_CPU(struct task_struct *, current_task);
f0766440dda7ac include/asm-x86/current.h Christoph Lameter 2008-05-09 12

:::::: The code at line 11 was first introduced by commit
:::::: f0766440dda7ace8a43b030f75e2dcb82449fb85 x86: unify current.h

:::::: TO: Christoph Lameter <clameter@xxxxxxx>
:::::: CC: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx