From: Matthew Wilcox Date: Tue, 16 Apr 2013 19:21:06 +0000 (-0400) Subject: NVMe: Fix endian-related problems in user I/O submission path X-Git-Tag: v3.10-rc1~21^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c9b52651dad0ff1fa71fc6205c86d972f25bcc0;p=pandora-kernel.git 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 Acked-by: Keith Busch --- Reading git-diff-tree failed