]> www.infradead.org Git - users/sagi/libnvme.git/commit
ioctl: fix swapped parameters in nvme_set_features_host_id()
authorCaleb Sander <csander@purestorage.com>
Thu, 14 Sep 2023 21:52:17 +0000 (15:52 -0600)
committerDaniel Wagner <wagi@monom.org>
Wed, 20 Sep 2023 08:33:57 +0000 (10:33 +0200)
commit61bdbecb27911e5bb5bc6eec261efc08e407386e
tree0913db30e49ad80a2ea22b7d7ccad3b3b6ab7ccd
parent1b8477dd4a24c4332b67725a365632100ad5e4c7
ioctl: fix swapped parameters in nvme_set_features_host_id()

nvme_set_features_host_id()'s prototype says the parameter EXHID
comes before SAVE, but its definition does the opposite,
causing the parameters to be misinterpreted.
Match the definition to the declaration.

Signed-off-by: Caleb Sander <csander@purestorage.com>
src/nvme/ioctl.c