diff options
author | Steven Price <steven.price@arm.com> | 2019-03-25 20:37:22 +0300 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2019-04-12 20:11:18 +0300 |
commit | fa7fe29a645b4da08efe8ff2392898b88f9ded9f (patch) | |
tree | 34431a66f2a5f38213a1766260f4b144363e02f9 /drivers/remoteproc/wkup_m3_rproc.c | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff) | |
download | linux-fa7fe29a645b4da08efe8ff2392898b88f9ded9f.tar.xz |
firmware: arm_scmi: fix of_node leak in scmi_mailbox_check
of_parse_phandle_with_args() requires the caller to call of_node_put() on
the returned args->np pointer. Otherwise the reference count will remain
incremented.
However, in this case, since we don't actually use the returned pointer,
we can simply pass in NULL.
Fixes: aa4f886f3893f ("firmware: arm_scmi: add basic driver infrastructure for SCMI")
Signed-off-by: Steven Price <steven.price@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/remoteproc/wkup_m3_rproc.c')
0 files changed, 0 insertions, 0 deletions