[PATCH 4/5] hwrng: meson: use struct hw_random priv data

Martin Blumenstingl martin.blumenstingl at googlemail.com
Sun Feb 19 10:26:38 PST 2023


Hi Heiner,

On Sat, Feb 18, 2023 at 9:59 PM Heiner Kallweit <hkallweit1 at gmail.com> wrote:
> +       void __iomem *base = (__force void __iomem *)rng->priv;
I find that "(void __force __iomem *)" is the more common order in
other drivers. Which of these is correct is something I cannot tell
though.

Also I would like to hear some other opinions because to me the code
was easier to read before.
Your way is shorter and may save a few bytes (including alignment etc.) though.


Best regards,
Martin



More information about the linux-arm-kernel mailing list