Message ID | 20200106100347.1559-5-drjones@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [PULL,kvm-unit-tests,01/17] arm: Add missing test name prefix for pl031 and spinlock | expand |
diff --git a/lib/devicetree.c b/lib/devicetree.c index 2b89178a109b..102032491e26 100644 --- a/lib/devicetree.c +++ b/lib/devicetree.c @@ -225,7 +225,7 @@ int dt_for_each_cpu_node(void (*func)(int fdtnode, u64 regval, void *info), prop = fdt_get_property(fdt, cpu, "device_type", &len); if (prop == NULL) - return len; + continue; if (len != 4 || strcmp((char *)prop->data, "cpu")) continue;