Skip to content

Commit

Permalink
mi: fix nvme_mi_admin_get_log_reachability_groups() parameters order
Browse files Browse the repository at this point in the history
Since the len parameter should be moved before the log parameter.

Signed-off-by: Tokunori Ikegami <[email protected]>
  • Loading branch information
ikegami-t committed Feb 12, 2025
1 parent 26a6cb9 commit baa4141
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/nvme/mi.h
Original file line number Diff line number Diff line change
Expand Up @@ -2380,9 +2380,8 @@ static inline int nvme_mi_admin_get_log_phy_rx_eom(nvme_mi_ctrl_t ctrl,
* 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_mi_admin_get_log_reachability_groups(nvme_mi_ctrl_t ctrl, __u32 len,
bool rgo, bool rae,
struct nvme_reachability_groups_log *log)
static inline int nvme_mi_admin_get_log_reachability_groups(nvme_mi_ctrl_t ctrl, bool rgo, bool rae,
__u32 len, struct nvme_reachability_groups_log *log)
{
struct nvme_get_log_args args = {
.lpo = 0,
Expand Down

0 comments on commit baa4141

Please sign in to comment.