diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-01-20 13:36:51 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-01-20 21:48:00 +0000 |
commit | 84cdf74e8096a10dd6acbb870dd404b92f07a756 (patch) | |
tree | 3cae46e567fab0649bb5696f4097d8072b0f9645 /init | |
parent | ba2dbf30df210b519bdd8d34ac2ecaaeeef34c44 (diff) |
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 <jlayton@redhat.com>
Acked-by: Pavel Shilovsky <piastryyy@gmail.com>
Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions