diff options
author | Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp> | 2024-12-06 16:38:09 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2024-12-24 15:49:54 +0300 |
commit | bf5821909eb9c7f5d07d5c6e852ead2c373c94a0 (patch) | |
tree | 0b58e11afc5399b693f2e85bfa84e9441195a0fa /tools/perf/scripts/python/syscall-counts.py | |
parent | 02ba194feacb994d6ed8dd60550a2dcf213e256d (diff) | |
download | linux-bf5821909eb9c7f5d07d5c6e852ead2c373c94a0.tar.xz |
mtd: hyperbus: hbmc-am654: fix an OF node reference leak
In am654_hbmc_platform_driver, .remove() and the error path of .probe()
do not decrement the refcount of an OF node obtained by
of_get_next_child(). Fix this by adding of_node_put() calls.
Fixes: aca31ce96814 ("mtd: hyperbus: hbmc-am654: Fix direct mapping setup flash access")
Signed-off-by: Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions