diff options
author | Mateusz Kulikowski <mateusz.kulikowski@gmail.com> | 2015-05-31 18:19:21 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-31 21:31:59 (GMT) |
commit | 06c111072892d3f5fed9d73d1becb59d3f33410b (patch) | |
tree | c51bdb395bfbbf740bae4512c0354816d47680ce /fs/ubifs | |
parent | c7ddc288ebf2aee890828cec26b4fb889a246330 (diff) | |
download | linux-06c111072892d3f5fed9d73d1becb59d3f33410b.tar.xz |
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 'fs/ubifs')
0 files changed, 0 insertions, 0 deletions