diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-01-21 02:19:25 (GMT) |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-01-21 02:23:27 (GMT) |
commit | 99d86c8f1b7101d7c55dbf644b32bb1f0d7eb303 (patch) | |
tree | 7ec07aeb365ea5f16dfd1ce1a2295e073d362ac6 /fs/cifs/dir.c | |
parent | bf67b9be97baea84386abca38b2503bb286571dc (diff) | |
download | linux-fsl-qoriq-99d86c8f1b7101d7c55dbf644b32bb1f0d7eb303.tar.xz |
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 <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/dir.c')
0 files changed, 0 insertions, 0 deletions