Re: [PATCH 12/13] PCI: brcmstb: Use order-0 indexing for inbound BAR window array
From: Florian Fainelli
Date: Thu Sep 17 2026 - 15:09:13 EST
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@xxxxxxxxxxxx>
Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian