Skip to content

Commit 39e421e

Browse files
committed
ioctl: Initialize all members in nvme_fdp_reclaim_unit-handle_status
Some compiler complain about the initializers: "sorry, unimplemented: non-trivial designated initializers not supported" Address by initializing explicitly all members. Signed-off-by: Daniel Wagner <[email protected]>
1 parent 9f11e7b commit 39e421e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/nvme/ioctl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3752,6 +3752,7 @@ static inline int nvme_fdp_reclaim_unit_handle_status(int fd, __u32 nsid,
37523752
.nsid = nsid,
37533753
.data_len = data_len,
37543754
.timeout = NVME_DEFAULT_IOCTL_TIMEOUT,
3755+
.mos = 0,
37553756
.mo = NVME_IO_MGMT_RECV_RUH_STATUS,
37563757
};
37573758

0 commit comments

Comments
 (0)