]> git.baikalelectronics.ru Git - uboot.git/commit
test: overlay: NULL passed as fdt
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 8 Dec 2018 08:53:05 +0000 (09:53 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 12 Dec 2018 17:14:24 +0000 (12:14 -0500)
commit8b24c0ac556789247703264e494d468b0ca687f8
tree934817fc4aaa0dfd32f1b777f9f7295bd26339e1
parente3613175857da48e62bbc87f03c532b477378894
test: overlay: NULL passed as fdt

The uts created in do_ut_overlay() is not the one used in
cmd_ut_category(). Currently all tests are therefore called with
uts->priv = NULL and fail.

Using a static variable is the easiest fix here.

Fixes: 54dcc34a7a0a ("test: overlay: Use cmd_ut_category()")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
test/overlay/cmd_ut_overlay.c