]> www.infradead.org Git - users/sagi/libnvme.git/commit
Use argument structure for nvme_directive_send() and nvme_directive_receive()
authorHannes Reinecke <hare@suse.de>
Fri, 17 Dec 2021 07:03:42 +0000 (08:03 +0100)
committerDaniel Wagner <dwagner@suse.de>
Mon, 10 Jan 2022 16:55:18 +0000 (17:55 +0100)
commit7459192786a0caf51db965c9757d2d08ae0c1aeb
tree8e812d2035bad3e6ae8c38e1baf6c349973ce125
parentd1eee6a6a42de8edff34f71ceacc0cf6f823c6ae
Use argument structure for nvme_directive_send() and nvme_directive_receive()

Use an argument structure instead of passing all arguments one by one.
This allows for a future expansion of the argument list without having
to change the library ABI.

Signed-off-by: Hannes Reinecke <hare@suse.de>
src/nvme/ioctl.c
src/nvme/ioctl.h