Commit 89ac31f
libnvme: do not byte swap command dwords
The dwords always need to be set in the cpu native format. The driver
will handle setting up the SQE in the nvme little-endian order, and big
endian is never used, so this byte swapping was wrong.
Link: linux-nvme/nvme-cli#2761
Signed-off-by: Keith Busch <[email protected]>
Signed-off-by: Daniel Wagner <[email protected]>1 parent 8ddf4c7 commit 89ac31f
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1933 | 1933 | | |
1934 | 1934 | | |
1935 | 1935 | | |
1936 | | - | |
1937 | | - | |
1938 | | - | |
| 1936 | + | |
| 1937 | + | |
| 1938 | + | |
1939 | 1939 | | |
1940 | 1940 | | |
1941 | 1941 | | |
| |||
0 commit comments