[PATCH] of: unittest, fix possible use of unitialized variable

2017-04-27 Thread frowand . list
From: Frank Rowand Fix problem reported in the linux-next build. last_sibling may be unitialized in of_unittest() if the device tree is empty. Signed-off-by: Frank Rowand --- drivers/of/unittest.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] of: unittest, fix possible use of unitialized variable

2017-04-27 Thread frowand . list
From: Frank Rowand Fix problem reported in the linux-next build. last_sibling may be unitialized in of_unittest() if the device tree is empty. Signed-off-by: Frank Rowand --- drivers/of/unittest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/unittest.c