summaryrefslogtreecommitdiff
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2009-04-27 13:22:40 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-05-19 22:20:07 -0700
commit091fc4290d9d7c3bc56e0685f3b3baf8f80613f1 (patch)
tree9b5df88c230422a2c9eb5882de286e7af3580672 /drivers/i2c/algos/i2c-algo-bit.c
parent092a287e02d1e45f6894b4a0886a5ec9dbab4129 (diff)
USB: Gadget: fix UTF conversion in the usbstring library
commit 0f43158caddcbb110916212ebe4e39993ae70864 upstream. This patch (as1234) fixes a bug in the UTF8 -> UTF-16 conversion routine in the gadget/usbstring library. In a UTF-8 multi-byte sequence, all bytes after the first should have their high-order two bits set to 10, not 11. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions