]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/block/nvme-core.c
NVMe: Fix nvme module init when nvme_major is set
authorKeith Busch <keith.busch@intel.com>
Wed, 25 Jul 2012 22:05:18 +0000 (16:05 -0600)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Thu, 26 Jul 2012 16:23:38 +0000 (12:23 -0400)
commit5c42ea1643a630060f9e71e06d3933d244970967
tree45a0acae315367d8807ccf0a128dcfd3138b430d
parente9ef46369f5107e634a93b7fc4e62a1f53343197
NVMe: Fix nvme module init when nvme_major is set

register_blkdev returns 0 when given a valid major number.

Reported-by:Ross Zwisler <ross.zwisler@intel.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c