[PATCH] NVMe: nvme_core_exit() should do cleanup in the reverse order as nvme_core_init does
Christoph Hellwig
hch at infradead.org
Sun May 1 11:05:41 PDT 2016
On Thu, Apr 28, 2016 at 04:19:31PM +0800, Wang Sheng-Hui wrote:
> nvme_core_init does:
> 1) register_blkdev
> 2) __register_chrdev
> 3) class_create
>
> nvme_core_exit should do cleanup in the reverse order.
Not sure why this would matter, but it looks correct to me:
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the Linux-nvme
mailing list