lvs-fullnat编译提示 nvme_dev_start lacks a __devinit
在centos6.5系统上安装好rpm -ivh /usr/local/src/lvs/kernel-2.6.32-431.56.1.el6.src.rpm
以后,执行 rpmbuild -bb --target=`uname -m` kernel.spec的时候告警和报错,报错如下:
WARNING: drivers/block/nvme.o(.text+0x3192): Section mismatch in reference from the function nvme_dev_start() to the function .devinit.text:nvme_create_queue()
The function nvme_dev_start() references
the function __devinit nvme_create_queue().
This is often because nvme_dev_start lacks a __devinit
annotation or the annotation of nvme_create_queue is wrong.
请问应该怎么解决?