Skip to content

Commit c8ebe6e

Browse files
ikegami-tigaw
authored andcommitted
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 <[email protected]>
1 parent be66b6f commit c8ebe6e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/nvme/ioctl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2214,7 +2214,7 @@ static inline int nvme_get_log_phy_rx_eom(int fd, __u8 lsp, __u16 controller,
22142214
* Return: The nvme command status if a response was received (see
22152215
* &enum nvme_status_field) or -1 with errno set otherwise
22162216
*/
2217-
static inline int nvme_get_log_reachability_groups(int fd, __u32 len, bool rgo, bool rae,
2217+
static inline int nvme_get_log_reachability_groups(int fd, bool rgo, bool rae, __u32 len,
22182218
struct nvme_reachability_groups_log *log)
22192219
{
22202220
struct nvme_get_log_args args = {

0 commit comments

Comments
 (0)