[PATCH v2 3/4] clk: mvebu: Iterate over possible CPUs instead of DT CPU nodes
Stephen Boyd
sboyd at kernel.org
Tue Jun 20 11:57:48 PDT 2023
Quoting Rob Herring (2023-06-09 11:13:47)
> Rework iterating over DT CPU nodes to iterate over possible CPUs
> instead. There's no need to walk the DT CPU nodes again. Possible CPUs
> is equal to the number of CPUs defined in the DT. Using the "reg" value
> for an array index is fragile as it assumes "reg" is 0-N which often is
> not the case.
>
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
Applied to clk-next
More information about the linux-arm-kernel
mailing list