diff options
| author | 2015-05-31 20:19:21 +0200 | |
|---|---|---|
| committer | 2015-06-01 06:31:59 +0900 | |
| commit | 06c111072892d3f5fed9d73d1becb59d3f33410b (patch) | |
| tree | c51bdb395bfbbf740bae4512c0354816d47680ce /tools/perf/scripts/python/sctop.py | |
| parent | staging: rtl8192e: accept const MAC address (diff) | |
staging: rtl8192e: Make ethernet addresses properly aligned
Reorder ethernet addresses allocated on stack or in non-packed
structures to keep them aligned(2).
Use ETH_ALEN as array length in places where it was hardcoded to 6.
Alignment verified using pahole where possible and target-tested
with BUG_ON() trap in ether_addr_copy.
Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
