[PATCH] dtc: zero out new label objects
Jon Loeliger
jdl at jdl.com
Sat Sep 29 06:35:40 EST 2012
> From: Stephen Warren <swarren at nvidia.com>
>
> Without this, new->deleted may be left set to some random value, which
> may then cause future label references to fail to locate the label. The
> code that allocates properties and nodes already contains the equivalent
> memset().
>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
Applied and pushed out.
Thanks,
jdl
More information about the devicetree-discuss
mailing list