summaryrefslogtreecommitdiffstats
path: root/firmware/tehuti
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-01-25 14:53:33 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 14:54:47 -0800
commitf10718f5b812a2c55e37396518d426f88d5e35fc (patch)
tree6b982a4adfefc8a220679e0bfdc347372e29031f /firmware/tehuti
parent5b520259ab6d661b8d5eb39dd17cc5e4e4553c62 (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud