diff options
author | Wolfgang Grandegger <[email protected]> | 2011-10-07 09:28:14 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2011-10-10 14:31:00 -0400 |
commit | a3a4bfde8a271df7ee56fcf31b8d907d50e7f216 (patch) | |
tree | a9ef98f3da1e449b0a430705ab8b9abea036467b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | cdaf557034bb4397b2c86bb424de1788b134f610 (diff) |
mscan: too much data copied to CAN frame due to 16 bit accesses
Due to the 16 bit access to mscan registers there's too much data copied to
the zero initialized CAN frame when having an odd number of bytes to copy.
This patch ensures that only the requested bytes are copied by using an
8 bit access for the remaining byte.
Reported-by: Andre Naujoks <[email protected]>
Signed-off-by: Oliver Hartkopp <[email protected]>
Signed-off-by: Wolfgang Grandegger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions