diff options
author | Christophe JAILLET | 2021-06-11 11:23:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2021-06-11 12:34:04 +0200 |
commit | 63879e2964bceee2aa5bbe8b99ea58bba28bb64f (patch) | |
tree | f1c9c43ea115fcf9f15306898928d372055753ea /security/smack | |
parent | fd307a4ad332ef50be5569c92490219e7cd84ce5 (diff) |
nvmem: core: add a missing of_node_put
'for_each_child_of_node' performs an of_node_get on each iteration, so a
return from the middle of the loop requires an of_node_put.
Fixes: e888d445ac33 ("nvmem: resolve cells from DT at registration time")
Cc: <stable@vger.kernel.org>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20210611102321.11509-1-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/smack')
0 files changed, 0 insertions, 0 deletions