aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2013-12-10 16:31:25 -0700
committerGreg Kroah-Hartman <[email protected]>2013-12-17 13:05:53 -0800
commitc6236c0ce39c809c336ca929f68cf8ad02cf94e0 (patch)
tree40af5aa6b9f1f2266de5d9eed11f09b11a5f7e6c /tools/perf/util/scripting-engines/trace-event-python.c
parent0283f7a100882684ad32b768f9f1ad81658a0b92 (diff)
staging: comedi: drivers: fix return value of comedi_load_firmware()
Some of the callback functions that upload the firmware in the comedi drivers return a positive value indicating the number of bytes sent to the device. Detect this condition and just return '0' to indicate a successful upload. Reported-by: Bernd Porr <[email protected]> Signed-off-by: H Hartley Sweeten <[email protected]> Acked-by: Ian Abbott <[email protected]> Acked-by: Dan Carpenter <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions