Skip to content

Commit 625604a

Browse files
committed
ioctl: correct nvme_copy reftag parameter type
Since incorrectly used __u32 type. Signed-off-by: Tokunori Ikegami <[email protected]>
1 parent 660b33e commit 625604a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nvme/ioctl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4996,7 +4996,7 @@ static inline int nvme_dsm(nvme_link_t l, __u32 nsid, __u16 nr_ranges,
49964996
static inline int nvme_copy(nvme_link_t l, __u32 nsid, __u64 sdlba, __u16 nr, __u8 desfmt,
49974997
__u8 prinfor, __u8 prinfow, __u8 cetype, __u8 dtype, bool stcw,
49984998
bool stcr, bool fua, bool lr, __u16 cev, __u16 dspec,
4999-
bool elbas,__u8 sts, __u8 pif, __u64 storage_tag, __u32 reftag,
4999+
bool elbas, __u8 sts, __u8 pif, __u64 storage_tag, __u64 reftag,
50005000
__u16 lbat, __u16 lbatm,
50015001
void *cpydsc, __u32 *result)
50025002
{

0 commit comments

Comments
 (0)