Skip to content

Commit d8eaf65

Browse files
committed
libnvme/test: change copy desc format 0h expected data
Since the elbt field changed to big-endian. Signed-off-by: Tokunori Ikegami <[email protected]>
1 parent f73ec23 commit d8eaf65

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

libnvme/test/ioctl/misc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -994,11 +994,11 @@ static void test_copy(void)
994994
__u32 elbats[TEST_COPY_NR] = { 0x111, 0x222, 0x333 };
995995
__u8 expected_data[sizeof(struct nvme_copy_range) * TEST_COPY_NR] = {
996996
0, 0, 0, 0, 0, 0, 0, 0, 0, 0x10, 0, 0, 0, 0, 0, 0,
997-
0xa, 0, 0, 0, 0, 0, 0, 0, 0, 0x10, 0, 0, 0x11, 1, 0xff, 1,
997+
0xa, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x10, 0, 0x11, 1, 0xff, 1,
998998
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x20, 0, 0, 0, 0,
999-
0xb, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x20, 0x22, 2, 0xff, 3,
999+
0xb, 0, 0, 0, 0, 0, 0, 0, 0x20, 0, 0, 0, 0x22, 2, 0xff, 3,
10001000
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x40, 0, 0x30, 0, 0,
1001-
0xc, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x40, 0x33, 3, 0xff, 3
1001+
0xc, 0, 0, 0, 0, 0, 0, 0, 0x40, 0, 0, 0, 0x33, 3, 0xff, 3
10021002
};
10031003

10041004
_cleanup_free_ struct nvme_copy_range *copy = NULL;

0 commit comments

Comments
 (0)