]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
plugins/wdc: pass struct nvme_dev rather than using global nvme_dev
authorJeremy Kerr <jk@codeconstruct.com.au>
Tue, 12 Jul 2022 09:14:09 +0000 (17:14 +0800)
committerDaniel Wagner <dwagner@suse.de>
Fri, 12 Aug 2022 06:50:57 +0000 (08:50 +0200)
commit2f3518de10d267bbb50dde3fe877df94c0b9b714
tree67fae49dfb9d9bbe3777b991c517fef45ae1b67b
parent12e8bdda7d35d63f29905cdb69376ea380c39fa3
plugins/wdc: pass struct nvme_dev rather than using global nvme_dev

We have a couple of uses of the global nvme_dev variable, where we could
be passing a local instead. This change updates some of the wdc log
print functions to take a struct nvme_dev, rather than using the global.

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