Re: [PATCH 2/2] lib/percpu_test: Add extra tests in percpu_test

From: kernel test robot
Date: Mon Aug 23 2021 - 11:10:42 EST


Hi Ritesh,

I love your patch! Perhaps something to improve:

[auto build test WARNING on dennis-percpu/for-next]
[also build test WARNING on wq/for-next linux/master linus/master v5.14-rc7 next-20210823]
[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/Ritesh-Harjani/kernel-workqueue-Make-schedule_on_each_cpu-as-EXPORT_SYMBOL/20210823-180924
base: https://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu.git for-next
config: hexagon-randconfig-r024-20210822 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 79b55e5038324e61a3abf4e6a9a949c473edd858)
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://github.com/0day-ci/linux/commit/a1287719d9dc710544e9968864a2069724b51427
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Ritesh-Harjani/kernel-workqueue-Make-schedule_on_each_cpu-as-EXPORT_SYMBOL/20210823-180924
git checkout a1287719d9dc710544e9968864a2069724b51427
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=hexagon

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

All warnings (new ones prefixed by >>):

>> lib/percpu_test.c:161:6: warning: no previous prototype for function 'percpu_test_verify_work' [-Wmissing-prototypes]
void percpu_test_verify_work(struct work_struct *work)
^
lib/percpu_test.c:161:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void percpu_test_verify_work(struct work_struct *work)
^
static
1 warning generated.


vim +/percpu_test_verify_work +161 lib/percpu_test.c

160
> 161 void percpu_test_verify_work(struct work_struct *work)
162 {
163 percpu_test_verify();
164 }
165

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

Attachment: .config.gz
Description: application/gzip