diff options
author | Liang He <windhl@126.com> | 2022-06-28 04:16:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-07-01 10:36:04 +0200 |
commit | c882716b6d411495f221bdd73e9137357c16a3ea (patch) | |
tree | 35adf28c9e06e2eb8fce9e77d7fee4b0d8ff7f2c /fs/kernfs/dir.c | |
parent | of: base: Avoid console probe delay when fw_devlink.strict=1 (diff) | |
download | linux-c882716b6d411495f221bdd73e9137357c16a3ea.tar.xz linux-c882716b6d411495f221bdd73e9137357c16a3ea.zip |
firmware: Hold a reference for of_find_compatible_node()
In of_register_trusted_foundations(), we need to hold the reference
returned by of_find_compatible_node() and then use it to call
of_node_put() for refcount balance.
Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220628021640.4015-1-windhl@126.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/kernfs/dir.c')
0 files changed, 0 insertions, 0 deletions