[PATCH] powerpc/pseries: Make vio and ibmebus initcalls pseries specific
kbuild test robot
lkp at intel.com
Tue Apr 21 17:49:15 AEST 2020
Hi Oliver,
I love your patch! Yet something to improve:
[auto build test ERROR on powerpc/next]
[also build test ERROR on scottwood/next v5.7-rc2 next-20200420]
[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/Oliver-O-Halloran/powerpc-pseries-Make-vio-and-ibmebus-initcalls-pseries-specific/20200417-121826
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-defconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp at intel.com>
All errors (new ones prefixed by >>):
arch/powerpc/platforms/pseries/ibmebus.c:467:1: error: data definition has no type or storage class [-Werror]
467 | machine_postcore_initcall(pseries, ibmebus_bus_init);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/powerpc/platforms/pseries/ibmebus.c:467:1: error: type defaults to 'int' in declaration of 'machine_postcore_initcall' [-Werror=implicit-int]
arch/powerpc/platforms/pseries/ibmebus.c:467:1: error: parameter names (without types) in function declaration [-Werror]
>> arch/powerpc/platforms/pseries/ibmebus.c:436:19: error: 'ibmebus_bus_init' defined but not used [-Werror=unused-function]
436 | static int __init ibmebus_bus_init(void)
| ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +467 arch/powerpc/platforms/pseries/ibmebus.c
435
> 436 static int __init ibmebus_bus_init(void)
437 {
438 int err;
439
440 printk(KERN_INFO "IBM eBus Device Driver\n");
441
442 err = bus_register(&ibmebus_bus_type);
443 if (err) {
444 printk(KERN_ERR "%s: failed to register IBM eBus.\n",
445 __func__);
446 return err;
447 }
448
449 err = device_register(&ibmebus_bus_device);
450 if (err) {
451 printk(KERN_WARNING "%s: device_register returned %i\n",
452 __func__, err);
453 bus_unregister(&ibmebus_bus_type);
454
455 return err;
456 }
457
458 err = ibmebus_create_devices(ibmebus_matches);
459 if (err) {
460 device_unregister(&ibmebus_bus_device);
461 bus_unregister(&ibmebus_bus_type);
462 return err;
463 }
464
465 return 0;
466 }
> 467 machine_postcore_initcall(pseries, ibmebus_bus_init);
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 25986 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20200421/4541e80a/attachment-0001.gz>
More information about the Linuxppc-dev
mailing list