Skip to content

Commit 8ad28af

Browse files
ikegami-tigaw
authored andcommitted
mi: fix nvme_mi_admin_get_log_reachability_groups() parameters order
Since the len parameter should be moved before the log parameter. Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
1 parent c57e9d2 commit 8ad28af

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/nvme/mi.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2380,9 +2380,8 @@ static inline int nvme_mi_admin_get_log_phy_rx_eom(nvme_mi_ctrl_t ctrl,
23802380
* Return: The nvme command status if a response was received (see
23812381
* &enum nvme_status_field) or -1 with errno set otherwise
23822382
*/
2383-
static inline int nvme_mi_admin_get_log_reachability_groups(nvme_mi_ctrl_t ctrl, __u32 len,
2384-
bool rgo, bool rae,
2385-
struct nvme_reachability_groups_log *log)
2383+
static inline int nvme_mi_admin_get_log_reachability_groups(nvme_mi_ctrl_t ctrl, bool rgo, bool rae,
2384+
__u32 len, struct nvme_reachability_groups_log *log)
23862385
{
23872386
struct nvme_get_log_args args = {
23882387
.lpo = 0,

0 commit comments

Comments
 (0)