Arnd Bergmann ee320b33b4 of: fix uninitialized variable warning for overlay test
gcc warns that an empty device tree would cause undefined behavior:

drivers/of/unittest.c: In function 'of_unittest':
drivers/of/unittest.c:2199:25: warning: 'last_sibling' may be used uninitialized in this function [-Wmaybe-uninitialized]

This adds an initialization of the variable to zero, which we handle
correctly.

Fixes: 81d0848fc8d2 ("of: Add unit tests for applying overlays")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rob Herring <robh@kernel.org>
2017-05-03 07:10:33 -05:00
..
2017-02-22 19:23:14 -08:00
2017-04-27 17:26:06 -05:00
2016-09-23 09:35:16 +02:00
2016-05-24 11:00:20 -07:00
2014-11-04 13:29:38 +00:00
2017-01-04 14:01:28 -06:00