]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
plugins/wdc: pass a struct nvme_dev around rather than a fd
authorJeremy Kerr <jk@codeconstruct.com.au>
Tue, 12 Jul 2022 07:22:47 +0000 (15:22 +0800)
committerDaniel Wagner <dwagner@suse.de>
Fri, 12 Aug 2022 06:50:57 +0000 (08:50 +0200)
commitef22215fa712574d5b12d434b16df4a06350bb79
tree641e242e544fd2af46ba44b2400d52fe64bd213c
parent11542bbdb1c1ad7b1f425925ce474c7ce06162d0
plugins/wdc: pass a struct nvme_dev around rather than a fd

Currently, the wdc plugin (internally) passes the device fd around. This
change passes the struct nvme_dev instead, so we can access other
members in a future change.

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