linux_dsm_epyc7002/drivers/firmware/arm_scmi
Steven Price fa7fe29a64 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: aa4f886f38 ("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>
2019-04-12 18:11:18 +01:00
..
base.c firmware: arm_scmi: use strlcpy to ensure NULL-terminated strings 2018-09-10 10:08:44 +01:00
bus.c firmware: arm_scmi: provide the mandatory device release callback 2019-01-30 11:34:42 +01:00
clock.c firmware: arm_scmi: use strlcpy to ensure NULL-terminated strings 2018-09-10 10:08:44 +01:00
common.h firmware: arm_scmi: drop unused con_priv structure member 2018-05-10 10:51:58 +01:00
driver.c firmware: arm_scmi: fix of_node leak in scmi_mailbox_check 2019-04-12 18:11:18 +01:00
Makefile firmware: arm_scmi: add device power domain support using genpd 2018-02-28 16:37:57 +00:00
perf.c firmware: arm_scmi: add a getter for power of performance states 2018-09-10 17:37:06 +01:00
power.c firmware: arm_scmi: use strlcpy to ensure NULL-terminated strings 2018-09-10 10:08:44 +01:00
scmi_pm_domain.c firmware: arm_scmi: add device power domain support using genpd 2018-02-28 16:37:57 +00:00
sensors.c firmware: arm_scmi: use strlcpy to ensure NULL-terminated strings 2018-09-10 10:08:44 +01:00