nvme lightnvm comments

Christoph Hellwig hch at infradead.org
Fri Nov 20 08:47:09 PST 2015


On Fri, Nov 20, 2015 at 12:06:36PM +0100, Matias Bj?rling wrote:
> >  2) please build the lightnvm.o object conditionally in the makefile
> 
> Then the functions
> 
> nvme_nvm_register
> nvme_nvm_unregister
> nvme_nvm_register
> 
> have to be #ifdef'ed in the pci file. Do you want that instead? It was on
> purpose the other way around, so that the nvme_nvm_* functions was null
> functions if lightnvm isn't compiled in.

Just keep the stubs as inlines in the header.



More information about the Linux-nvme mailing list