diff options
| author | Mark Brown <broonie@kernel.org> | 2026-05-29 17:41:12 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-05-29 17:41:12 +0100 |
| commit | cb65837e19637785a384b59312deb1e9b1d7e760 (patch) | |
| tree | ba691c26a5c17e2d109f7da635a84f8dbb691b78 /drivers | |
| parent | 39d99b24207751c38f072e1ca11407457156c97d (diff) | |
| parent | 4b0a3ff9f4178a0765d54c0dd09e9839526b08ba (diff) | |
| download | linux-next-history-cb65837e19637785a384b59312deb1e9b1d7e760.tar.gz | |
Merge branch 'dt/linus' of https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/of/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/cpu.c b/drivers/of/cpu.c index 5214dc3d05ae1..bd0e918d6f290 100644 --- a/drivers/of/cpu.c +++ b/drivers/of/cpu.c @@ -60,7 +60,7 @@ static bool __of_find_n_match_cpu_property(struct device_node *cpun, cell = of_get_property(cpun, prop_name, &prop_len); if (!cell && !ac && arch_match_cpu_phys_id(cpu, 0)) return true; - if (!cell || !ac) + if (!cell || !ac || ac > 2) return false; prop_len /= sizeof(*cell) * ac; for (tid = 0; tid < prop_len; tid++) { |
