Re: [PATCH v2 1/3] misc/pvpanic: split-up generic and platform dependent code

From: kernel test robot
Date: Fri Feb 12 2021 - 07:28:40 EST


Hi Mihai,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linux/master]
[also build test WARNING on soc/for-next linus/master v5.11-rc7]
[cannot apply to char-misc/char-misc-testing next-20210211]
[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/Mihai-Carabas/misc-pvpanic-split-up-generic-and-platform-dependent-code/20210212-181711
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 2ab38c17aac10bf55ab3efde4c4db3893d8691d2
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/17d14b4802b75b93f10e01153b0e395f6a638492
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Mihai-Carabas/misc-pvpanic-split-up-generic-and-platform-dependent-code/20210212-181711
git checkout 17d14b4802b75b93f10e01153b0e395f6a638492
# save the attached .config to linux build tree
make W=1 ARCH=i386

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

All warnings (new ones prefixed by >>):

>> drivers/misc/pvpanic/pvpanic-common.c:47:6: warning: no previous prototype for 'pvpanic_probe' [-Wmissing-prototypes]
47 | void pvpanic_probe(void __iomem *pbase)
| ^~~~~~~~~~~~~
>> drivers/misc/pvpanic/pvpanic-common.c:54:6: warning: no previous prototype for 'pvpanic_remove' [-Wmissing-prototypes]
54 | void pvpanic_remove(void)
| ^~~~~~~~~~~~~~


vim +/pvpanic_probe +47 drivers/misc/pvpanic/pvpanic-common.c

46
> 47 void pvpanic_probe(void __iomem *pbase)
48 {
49 base = pbase;
50 atomic_notifier_chain_register(&panic_notifier_list,
51 &pvpanic_panic_nb);
52 }
53
> 54 void pvpanic_remove(void)

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

Attachment: .config.gz
Description: application/gzip