summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2018-05-02 22:39:59 +0300
committerDavid S. Miller <davem@davemloft.net>2018-05-02 23:23:49 +0300
commit353af85ed811d84ca349c6d6e5df8055eeab5bd5 (patch)
treed67ae48b68eb714455252d318b4c6eb5e508c777 /tools/perf/scripts/python/syscall-counts.py
parentff1d733155da3fdba29e2ba99be428da86070989 (diff)
downloadlinux-353af85ed811d84ca349c6d6e5df8055eeab5bd5.tar.xz
r8169: avoid potentially misaligned access when getting mac address
Interpreting a member of an u16 array as u32 may result in a misaligned access. Also it's not really intuitive to define a mac address variable as array of three u16 words. Therefore use an array of six bytes that is properly aligned for 32 bit access. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions