]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme: Remove static nvme_dev, allocate on open instead
authorJeremy Kerr <jk@codeconstruct.com.au>
Tue, 12 Jul 2022 10:09:39 +0000 (18:09 +0800)
committerDaniel Wagner <dwagner@suse.de>
Fri, 12 Aug 2022 06:52:06 +0000 (08:52 +0200)
commita28718f17189a9a4c821d14574413a93453d2e96
tree77c6e4884e81f33f17dfaf41448e133de475f58d
parenta4ad8acad3b23877f93a7e543251a1d9ea621140
nvme: Remove static nvme_dev, allocate on open instead

This change completes the transition to a all-local device data. Instead
of using the static nvme_dev, allocate a struct nvme_dev instead, and
free on dev_close()

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
nvme.c