mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
562b4e91d3
ofpart was recently patched to not scan random partition nodes as
subpartitions. That change unfortunately broke scanning valid
subpartitions like:
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
compatible = "fixed-partitions";
label = "bootloader";
reg = <0x0 0x100000>;
partition@0 {
label = "config";
reg = <0x80000 0x80000>;
};
};
};
Fix that regression by adding 1 more code path. We actually need 3
conditional blocks to support 3 possible cases. This change also makes
code easier to understand & follow.
Reported-by: David Bauer <mail@david-bauer.net>
Fixes:
|
||
---|---|---|
.. | ||
afs.c | ||
ar7part.c | ||
bcm47xxpart.c | ||
bcm63xxpart.c | ||
cmdlinepart.c | ||
Kconfig | ||
Makefile | ||
ofpart_bcm4908.c | ||
ofpart_bcm4908.h | ||
ofpart_core.c | ||
ofpart_linksys_ns.c | ||
ofpart_linksys_ns.h | ||
parser_imagetag.c | ||
parser_trx.c | ||
qcomsmempart.c | ||
redboot.c | ||
sharpslpart.c |