diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index 4b15aa163b6ef6c92660d96bc95fadeee897f192..cde35c5d0191bd5950c7953d5b8e88a2d139306f 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c @@ -191,7 +191,7 @@ static void * unflatten_dt_node(void *blob, if (!pathp) return mem; - allocl = l++; + allocl = ++l; /* version 0x10 has a more compact unit name here instead of the full * path. we accumulate the full path size using "fpsize", we'll rebuild