diff options
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2013-04-16 21:21:06 +0200 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2013-04-16 21:21:06 +0200 |
commit | 1c9b52651dad0ff1fa71fc6205c86d972f25bcc0 (patch) | |
tree | 387be3d96798e7b5c4d35accd3067d4095552387 /net | |
parent | NVMe: Fix I/O cancellation status on big-endian machines (diff) | |
download | linux-1c9b52651dad0ff1fa71fc6205c86d972f25bcc0.tar.xz linux-1c9b52651dad0ff1fa71fc6205c86d972f25bcc0.zip |
NVMe: Fix endian-related problems in user I/O submission path
When constructing the command, dsmgmt needs to be treated as a 32-bit
value, not a 16-bit value. reftag, apptag and appmask all need to be
converted from native-endian to little-endian. Again, sparse's bitwise
warnings caught this problem. Thanks to Keith for pointing out the
correct way to fix the reftag.
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Acked-by: Keith Busch <keith.busch@intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions