summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJohn Garry <john.g.garry@oracle.com>2026-06-10 11:16:08 +0000
committerKeith Busch <kbusch@kernel.org>2026-06-10 07:33:00 -0700
commit869567bcbe2dcc790860e05fc0e0c5e415bb22c2 (patch)
treecd86e71adbe74080e5f37575cf7aa04e24b29aa3 /include/linux
parentac48c49116d3de84fabc224c6e43f08740b1460d (diff)
nvme: make nvme_add_ns{_head}_cdev return void
The return code from nvme_add_ns_head_cdev() and nvme_add_ns_cdev() is never checked, so make those functions return void. A cdev add failure is tolerated during initialization, and flags NVME_NS_CDEV_LIVE and NVME_NSHEAD_CDEV_LIVE are for determining whether a cdev needs to be deleted during un-initialization. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@kernel.org> Signed-off-by: John Garry <john.g.garry@oracle.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions