aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2014-07-31 09:34:05 +0900
committerVinod Koul <[email protected]>2014-07-31 17:15:45 +0530
commitc091ff51b4d2543b828d53ce47f66905dee870fd (patch)
tree1354b1abdf40d4f83e0824a51b0be634ddc5a16e /tools/perf/util/scripting-engines/trace-event-python.c
parent9f2c2bb31258e11b1ebaf73bdf2a88f8afaa2dd2 (diff)
dmaengine: shdma: Make channel filter ignore unrelated devices
The shdma_chan_filter() function relies on the DMA channel being embedded in an shdma_chan structure. If this assumption isn't true, for instance when the system contains DMA channels supported by an unrelated driver, the function will crash. Avoid this by returning false directly when the channel belongs to an unrelated device. Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Simon Horman <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions