Re: [PATCH 02/10] net: emac: fix sparse __iomem warnings in IAHT register access

From: Paolo Abeni

Date: Thu Jul 02 2026 - 07:10:02 EST


On 6/30/26 6:16 AM, Rosen Penev wrote:
> Annotate iaht1/iaht2 in the EMAC4 register union with __iomem so
> sparse does not warn about address-space mismatches, and simplify
> emac_xaht_base() to return &p->u1.emac4sync.iaht1 (or the EMAC4
> variant) directly instead of computing the offset by hand.

This patch does not include the actual annotation.

/P