staging: r8188eu: ensure proper alignment for eth address buffers
authorMichael Straube <straube.linux@gmail.com>
Mon, 23 Aug 2021 12:00:59 +0000 (14:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Aug 2021 10:23:11 +0000 (12:23 +0200)
commit8aa824f2ec1b66fdbf7e5b87e519bced35a35114
treec582dfbe7ed1a4d0aef36d8bcb23e8726ed2bc0f
parent2a3afb168ea7002884ce7e56f5c2e061420a3bcf
staging: r8188eu: ensure proper alignment for eth address buffers

Add __aligned(2) to eth address buffers in structs rx_pkt_attrib and
pkt_attrib to ensure proper alignment for usage with functions from
<linux/etherdevice.h>

Acked-by: Phillip Potter <phil@philpotter.co.uk>
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210823120106.9633-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/include/rtw_recv.h
drivers/staging/r8188eu/include/rtw_xmit.h