aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2009-12-31 17:42:55 +0200
committerGreg Kroah-Hartman <[email protected]>2010-03-02 14:53:59 -0800
commitd0ef90b49857b403c1cfa62fce229c967dd4be40 (patch)
tree982354c995a933e5f4e38c48b6ea6d268f9464f1 /tools/perf/scripts/python/bin
parent96679f6bd5e1ccb30671b81636b4fdc326e46d8a (diff)
USB: serial: fix DMA buffers on stack for io_edgeport.c
The original code was passing a stack variable as a dma buffer, so I made it an allocated variable. Instead of adding a bunch of kfree() calls, I changed all the error return paths to gotos. Also I noticed that the error checking wasn't correct because usb_get_descriptor() can return negative values. While I was at it, I made an unrelated white space change by moving the unicode_to_ascii() on to one line. Signed-off-by: Dan Carpenter <[email protected]> Cc: Johan Hovold <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions