aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorMarc Kleine-Budde <[email protected]>2010-10-21 18:39:26 +0200
committerMarc Kleine-Budde <[email protected]>2012-07-20 17:48:53 +0200
commit9e4d6909a273ada78cf48379e478855bc13ae0cb (patch)
treebb07dcb34ec9019c4ee5b98b2f8eb82e0941b863 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent007890d726602c925077381500f0b633cfacd711 (diff)
can: janz-ican3: cleanup of ican3_to_can_frame and can_frame_to_ican3
This patch cleans up the ICAN3 to Linux CAN frame and vice versa conversion functions: - RX: Use get_can_dlc() to limit the dlc value. - RX+TX: Don't copy the whole frame, only copy the amount of bytes specified in cf->can_dlc. Acked-by: Ira W. Snyder <[email protected]> Tested-by: Ira W. Snyder <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions