]> git.dujemihanovic.xyz Git - u-boot.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)
commit3cc137616d0aed8990f9cd10cc07dba79df99cd6
tree934817fc4aaa0dfd32f1b777f9f7295bd26339e1
parent76f6d52e61a1968702af69d6cea463b9d9332a96
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: e93232e15ec9 ("test: overlay: Use cmd_ut_category()")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
test/overlay/cmd_ut_overlay.c