diff options
author | Dan Carpenter <error27@gmail.com> | 2010-01-25 14:53:33 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 14:54:47 -0800 |
commit | f10718f5b812a2c55e37396518d426f88d5e35fc (patch) | |
tree | 6b982a4adfefc8a220679e0bfdc347372e29031f /firmware/tehuti | |
parent | 5b520259ab6d661b8d5eb39dd17cc5e4e4553c62 (diff) | |
download | blackbird-op-linux-f10718f5b812a2c55e37396518d426f88d5e35fc.tar.gz blackbird-op-linux-f10718f5b812a2c55e37396518d426f88d5e35fc.zip |
USB: io_edgeport: eliminate get_string()
Johan Hovold points out that get_string() is basically just a
re-implimentation of usb_string(). It is also buggy. It does DMA on
the stack and it doesn't handle negative returns from
usb_get_descriptor(). Plus unicode_to_ascii() is a rubbish function and
moving to usb_string() avoids using it.
Let's eliminate get_string() entirely.
Reported-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'firmware/tehuti')
0 files changed, 0 insertions, 0 deletions