Re: [PATCH v9 5/5] nvme: LightNVM support

From: kbuild test robot
Date: Wed Oct 14 2015 - 11:07:31 EST


Hi Matias,

[auto build test ERROR on block/for-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url: https://github.com/0day-ci/linux/commits/Matias-Bj-rling/Support-for-Open-Channel-SSDs/20151014-224617
config: x86_64-randconfig-s0-10141707 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

>> drivers/nvme/host/lightnvm.c:592:6: error: conflicting types for 'nvme_nvm_unregister'
void nvme_nvm_unregister(char *disk_name) {};
^
In file included from drivers/nvme/host/lightnvm.c:23:0:
drivers/nvme/host/nvme.h:141:6: note: previous declaration of 'nvme_nvm_unregister' was here
void nvme_nvm_unregister(struct request_queue *q, char *disk_name);
^

vim +/nvme_nvm_unregister +592 drivers/nvme/host/lightnvm.c

586 }
587 #else
588 int nvme_nvm_register(struct request_queue *q, char *disk_name)
589 {
590 return 0;
591 }
> 592 void nvme_nvm_unregister(char *disk_name) {};
593 int nvme_nvm_ns_supported(struct nvme_ns *ns, struct nvme_id_ns *id)
594 {
595 return 0;

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data