[PATCH 12/13] PCI: brcmstb: Use order-0 indexing for inbound BAR window array
Florian Fainelli
florian.fainelli at broadcom.com
Thu Sep 17 10:08:33 PDT 2026
On 9/11/26 16:35, Jim Quinlan wrote:
> The register names for the inbound BAR registers use order-1 indexing,
> e.g. the first is BAR1. The code followed this nomenclature by not using
> the 0th element of the inbound array.
>
> Undo this approach and use order-0 indexing. Also use a struct pointer
> variable in two functions instead of array indexing.
>
> Signed-off-by: Jim Quinlan <james.quinlan at broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli at broadcom.com>
--
Florian
More information about the linux-arm-kernel
mailing list