Re: [PATCH] eata: Convert eata driver as normal PCI and platform device drivers
From: kbuild test robot
Date: Mon Feb 29 2016 - 22:10:49 EST
- Next message: Michael Ellerman: "Re: [kbuild-all] Invalid CPU Type - valid names are: alpha, arm, x86, ia64, m68k, microblaze, mips, mips64, nios2, powerpc, ppc, s390, sh, sparc, sparc64, blackfin, avr32, nds32, or1k"
- Previous message: 平松雅巳 / HIRAMATU,MASAMI: "RE: [RFC] perf: probe_finder: continue if atleast one probe point found"
- In reply to: Jiang Liu: "[PATCH] eata: Convert eata driver as normal PCI and platform device drivers"
- Next in thread: kbuild test robot: "Re: [PATCH] eata: Convert eata driver as normal PCI and platform device drivers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Jiang,
[auto build test ERROR on scsi/for-next]
[also build test ERROR on v4.5-rc6 next-20160229]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Jiang-Liu/eata-Convert-eata-driver-as-normal-PCI-and-platform-device-drivers/20160301-105821
base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: mips-allyesconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=mips
All error/warnings (new ones prefixed by >>):
>> drivers/scsi/eata.c:2633:1: warning: data definition has no type or storage class
module_init(eata2x_init);
^
>> drivers/scsi/eata.c:2633:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
>> drivers/scsi/eata.c:2633:1: warning: parameter names (without types) in function declaration
drivers/scsi/eata.c:2634:1: warning: data definition has no type or storage class
module_exit(eata2x_exit);
^
>> drivers/scsi/eata.c:2634:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]
drivers/scsi/eata.c:2634:1: warning: parameter names (without types) in function declaration
drivers/scsi/eata.c:1655:19: warning: 'eata2x_init' defined but not used [-Wunused-function]
static int __init eata2x_init(void)
^
cc1: some warnings being treated as errors
vim +2633 drivers/scsi/eata.c
2627 spin_lock_irqsave(shost->host_lock, spin_flags);
2628 ret = ihdlr(shost);
2629 spin_unlock_irqrestore(shost->host_lock, spin_flags);
2630 return ret;
2631 }
2632
> 2633 module_init(eata2x_init);
> 2634 module_exit(eata2x_exit);
2635
2636 #ifndef MODULE
2637 __setup("eata=", option_setup);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data
- Next message: Michael Ellerman: "Re: [kbuild-all] Invalid CPU Type - valid names are: alpha, arm, x86, ia64, m68k, microblaze, mips, mips64, nios2, powerpc, ppc, s390, sh, sparc, sparc64, blackfin, avr32, nds32, or1k"
- Previous message: 平松雅巳 / HIRAMATU,MASAMI: "RE: [RFC] perf: probe_finder: continue if atleast one probe point found"
- In reply to: Jiang Liu: "[PATCH] eata: Convert eata driver as normal PCI and platform device drivers"
- Next in thread: kbuild test robot: "Re: [PATCH] eata: Convert eata driver as normal PCI and platform device drivers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]