Re: [PATCH V4 2/3] misc/pvpanic : add pci interface for pvpanic

From: kbuild test robot
Date: Tue Dec 18 2018 - 08:39:01 EST

Hi Peng,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on char-misc/char-misc-testing]
[also build test ERROR on next-20181218]
[cannot apply to v4.20-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=sh

All errors (new ones prefixed by >>):

drivers/misc/pvpanic.c: In function 'pvpanic_mmio_exit':
>> drivers/misc/pvpanic.c:256:2: error: implicit declaration of function 'pvpanic_unregister_pci_driver'; did you mean 'pvpanic_unregister_pci_drvier'? [-Werror=implicit-function-declaration]
At top level:
drivers/misc/pvpanic.c:232:13: warning: 'pvpanic_unregister_pci_drvier' defined but not used [-Wunused-function]
static void pvpanic_unregister_pci_drvier(void) {}
cc1: some warnings being treated as errors

vim +256 drivers/misc/pvpanic.c

250 static void __exit pvpanic_mmio_exit(void)
251 {
252 if (acpi_disabled)
253 platform_driver_unregister(&pvpanic_mmio_driver);
254 else
255 pvpanic_unregister_acpi_driver();
> 256 pvpanic_unregister_pci_driver();
257 }

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip