commit | f052df96c46dbe52fbacd02189e7906f41686f27 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sun Jun 03 01:22:05 2018 +0300 |
committer | Sebastian Reichel <sre@kernel.org> | Thu Jun 28 14:20:38 2018 +0200 |
tree | ff9b56a3ecf489bd90ab9cb5db033b465a9ae3e1 | |
parent | 91937b1478aa3e9eb93d6f68283786f3553213b3 [diff] |
power: reset: zx-reboot: put device node in zx_reboot_probe() zx_reboot_probe() increments refcnt of zx296702-pcu device node by of_find_compatible_node() and leaves it undecremented on both successful and error paths. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Reviewed-by: Nicholas Mc Guire <der.herr@hofr.at> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>