Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
of: gpio unittest kfree() wrong object
kernel test robot reported "WARNING: held lock freed!" triggered by unittest_gpio_remove(). unittest_gpio_remove() was unexpectedly called due to an error in overlay tracking. The remove had not been tested because the gpio overlay removal tests have not been implemented. kfree() gdev instead of pdev. Fixes: f4056e7 ("of: unittest: add overlay gpio test to catch gpio hog problem") Reported-by: kernel test robot <[email protected]> Signed-off-by: Frank Rowand <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Rob Herring <[email protected]>
- Loading branch information