Skip to content
Commit 3586cb82 authored by Tomasz Duszynski's avatar Tomasz Duszynski Committed by Jagan Teki
Browse files

Revert "sunxi: psci: avoid error address-of-packed-member"



Using memcpy() for some MMIO access is generally frowned upon and might
break things on some platforms. Allwinner H3, which fails to boot, being
an example here.

Moreover, fields being accessed are naturally aligned and warnings
produced by GCC have been quiesced for some time already by:

53dc8ae6 ("gcc-9: silence 'address-of-packed-member' warning")

That said, it should be okay to revert this commit.

This reverts commit 9bd34a69.

Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: default avatarTomasz Duszynski <tduszyns@gmail.com>
Acked-by: default avatarJagan Teki <jagan@amarulasolutions.com>
parent a4df9d8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment