[PATCH 0/2] of: unittest gpio unittest error exposes tracking error

frowand.list
2020-03-26T01:47:14Z

From: Frank Rowand <frank.rowand@sony.com>

kernel test robot reported "WARNING: held lock freed!" triggered by
unittest_gpio_remove().

This warning is from a bad kfree() call from an unexpected call to
unittest_gpio_remove(). The unexpected call is due to an error
with unittest overlay tracking.

Patch 1/2 fixes the kfree bug.

Patch 2/2 fixes the unittest overlay tracking bug.

Frank Rowand (2):
of: gpio unittest kfree() wrong object
of: some unittest overlays not untracked

drivers/of/unittest.c | 32 ++++++++++++++++++++++++--------
1 file changed, 24 insertions(+), 8 deletions(-)

--
Frank Rowand <frank.rowand@sony.com>