diff options
author | Peter Jones <pjones@redhat.com> | 2016-02-08 14:48:11 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-16 08:41:36 -0700 |
commit | f0b5aae480e53e26c0739241144eaa0e2e56a4fc (patch) | |
tree | bef0ed1bbe5a91764545eb59b49ceab979491320 /kernel/module.c | |
parent | 73c1d981f04cdee52466ea0e5fc0d04c76ad6f49 (diff) |
lib/ucs2_string: Add ucs2 -> utf8 helper functions
commit 73500267c930baadadb0d02284909731baf151f7 upstream.
This adds ucs2_utf8size(), which tells us how big our ucs2 string is in
bytes, and ucs2_as_utf8, which translates from ucs2 to utf8..
Signed-off-by: Peter Jones <pjones@redhat.com>
Tested-by: Lee, Chun-Yi <jlee@suse.com>
Acked-by: Matthew Garrett <mjg59@coreos.com>
Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions