linux/drivers/hv
Alan Stern 0720a06a75 NLS: improve UTF8 -> UTF16 string conversion routine
The utf8s_to_utf16s conversion routine needs to be improved.  Unlike
its utf16s_to_utf8s sibling, it doesn't accept arguments specifying
the maximum length of the output buffer or the endianness of its
16-bit output.

This patch (as1501) adds the two missing arguments, and adjusts the
only two places in the kernel where the function is called.  A
follow-on patch will add a third caller that does utilize the new
capabilities.

The two conversion routines are still annoyingly inconsistent in the
way they handle invalid byte combinations.  But that's a subject for a
different patch.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-11-18 10:51:01 -08:00
..
channel_mgmt.c hv: remove free_channel() from hyperv.h 2011-10-11 09:51:22 -06:00
channel.c
connection.c
hv_kvp.c NLS: improve UTF8 -> UTF16 string conversion routine 2011-11-18 10:51:01 -08:00
hv_kvp.h
hv_util.c hv: rename prep_negotiate_resp() to vmbus_prep_negotiate_resp() 2011-10-11 08:49:19 -06:00
hv.c
hyperv_vmbus.h Staging: hv: remove last user of DPRINT() macro 2011-10-11 09:51:21 -06:00
Kconfig
Makefile
ring_buffer.c Staging: hv: remove last user of DPRINT() macro 2011-10-11 09:51:21 -06:00
vmbus_drv.c hv: remove struct hv_device_info from hyperv.h 2011-10-11 09:51:22 -06:00