From: Jeff Layton Date: Fri, 21 Jan 2011 02:19:25 +0000 (-0500) Subject: cifs: fix up CIFSSMBEcho for unaligned access X-Git-Tag: v2.6.38-rc2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99d86c8f1b7101d7c55dbf644b32bb1f0d7eb303;p=pandora-kernel.git cifs: fix up CIFSSMBEcho for unaligned access Make sure that CIFSSMBEcho can handle unaligned fields. Also fix a minor bug that causes this warning: fs/cifs/cifssmb.c: In function 'CIFSSMBEcho': fs/cifs/cifssmb.c:740: warning: large integer implicitly truncated to unsigned type ...WordCount is u8, not __le16, so no need to convert it. This patch should apply cleanly on top of the rest of the patchset to clean up unaligned access. Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed