of: overlay: fix uninitialized read of variable
When there are no fragments, we return an uninitialized err. Initialize err as zero, so it's returned in that case. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
drivers/of/overlay.c |
---|