Skip to content

Commit

Permalink
ioctl: fix nvme_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 authored and igaw committed Feb 11, 2025
1 parent be66b6f commit c8ebe6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nvme/ioctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit c8ebe6e

Please sign in to comment.