From c8ebe6e21887af218e5ffc5e77a235dc32dbb70b Mon Sep 17 00:00:00 2001 From: Tokunori Ikegami Date: Wed, 12 Feb 2025 00:26:25 +0900 Subject: [PATCH] ioctl: fix nvme_get_log_reachability_groups() parameters order Since the len parameter should be moved before the log parameter. Signed-off-by: Tokunori Ikegami --- src/nvme/ioctl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvme/ioctl.h b/src/nvme/ioctl.h index d14e997f..b1449f9e 100644 --- a/src/nvme/ioctl.h +++ b/src/nvme/ioctl.h @@ -2214,7 +2214,7 @@ static inline int nvme_get_log_phy_rx_eom(int fd, __u8 lsp, __u16 controller, * Return: The nvme command status if a response was received (see * &enum nvme_status_field) or -1 with errno set otherwise */ -static inline int nvme_get_log_reachability_groups(int fd, __u32 len, bool rgo, bool rae, +static inline int nvme_get_log_reachability_groups(int fd, bool rgo, bool rae, __u32 len, struct nvme_reachability_groups_log *log) { struct nvme_get_log_args args = {