kernel_samsung_a53x/drivers/rpmsg
Bjorn Andersson 723e5a18bf rpmsg: glink: Release driver_override
commit fb80ef67e8ff6a00d3faad4cb348dafdb8eccfd8 upstream.

Upon termination of the rpmsg_device, driver_override needs to be freed
to avoid leaking the potentially assigned string.

Fixes: 42cd402b8fd4 ("rpmsg: Fix kfree() of static memory on setting driver_override")
Fixes: 39e47767ec9b ("rpmsg: Add driver_override device attribute for rpmsg_device")
Reviewed-by: Chris Lew <quic_clew@quicinc.com>
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230109223931.1706429-1-quic_bjorande@quicinc.com
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-18 10:58:46 +01:00
..
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtk_rpmsg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_glink_native.c rpmsg: glink: Release driver_override 2024-11-18 10:58:46 +01:00
qcom_glink_native.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_glink_rpm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_glink_smem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_glink_ssr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_smd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rpmsg_char.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rpmsg_core.c rpmsg: Fix calling device_lock() on non-initialized device 2024-11-18 10:58:46 +01:00
rpmsg_internal.h rpmsg: Fix calling device_lock() on non-initialized device 2024-11-18 10:58:46 +01:00
virtio_rpmsg_bus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00