From: Jeff Layton Date: Thu, 20 Jan 2011 18:36:51 +0000 (-0500) Subject: cifs: fix unaligned accesses in cifsConvertToUCS X-Git-Tag: v2.6.38-rc2~4^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84cdf74e8096a10dd6acbb870dd404b92f07a756;p=pandora-kernel.git cifs: fix unaligned accesses in cifsConvertToUCS Move cifsConvertToUCS to cifs_unicode.c where all of the other unicode related functions live. Have it store mapped characters in 'temp' and then use put_unaligned_le16 to copy it to the target buffer. Also fix the comments to match kernel coding style. Signed-off-by: Jeff Layton Acked-by: Pavel Shilovsky Reviewed-by: Shirish Pargaonkar Signed-off-by: Steve French --- Reading git-diff-tree failed