From: kbuild test robot <lkp@intel.com>
To: Jiang Liu <jiang.liu@linux.intel.com>
Cc: kbuild-all@01.org, Dario Ballabio <ballabio_dario@emc.com>,
"James E.J. Bottomley" <JBottomley@odin.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
Jiang Liu <jiang.liu@linux.intel.com>,
Hannes Reinecke <hare@suse.de>,
"Ballabio, Dario" <dario.ballabio@emc.com>,
Christoph Hellwig <hch@infradead.org>,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] eata: Convert eata driver as normal PCI and platform device drivers
Date: Tue, 1 Mar 2016 11:16:36 +0800 [thread overview]
Message-ID: <201603011103.wuJR8fK0%fengguang.wu@intel.com> (raw)
In-Reply-To: <1456801344-3318-1-git-send-email-jiang.liu@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 2481 bytes --]
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: alpha-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=alpha
All errors (new ones prefixed by >>):
drivers/scsi/eata.c:1531:1: warning: data definition has no type or storage class
MODULE_DEVICE_TABLE(pci, eata2x_tbl);
^
>> drivers/scsi/eata.c:1531:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int]
drivers/scsi/eata.c:1531:1: warning: parameter names (without types) in function declaration
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 +1531 drivers/scsi/eata.c
1525 }
1526
1527 static struct pci_device_id eata2x_tbl[] = {
1528 { PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_SCSI << 8, PCI_ANY_ID) },
1529 { },
1530 };
> 1531 MODULE_DEVICE_TABLE(pci, eata2x_tbl);
1532
1533 static struct pci_driver eata2x_pci_driver = {
1534 .name = "eata_pci",
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 45062 bytes --]
next prev parent reply other threads:[~2016-03-01 3:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-01 3:02 Jiang Liu
2016-03-01 3:10 ` kbuild test robot
2016-03-01 3:16 ` kbuild test robot [this message]
2016-03-01 6:52 ` Christoph Hellwig
2016-03-01 17:27 ` Arthur Marsh
2016-03-01 21:36 ` Arthur Marsh
2016-03-02 3:20 ` Jiang Liu
2016-03-02 6:52 ` Arthur Marsh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201603011103.wuJR8fK0%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=JBottomley@odin.com \
--cc=ballabio_dario@emc.com \
--cc=dario.ballabio@emc.com \
--cc=hare@suse.de \
--cc=hch@infradead.org \
--cc=jiang.liu@linux.intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®