Bjorn Andersson
dea7b8757b
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
(cherry picked from commit fb80ef67e8ff6a00d3faad4cb348dafdb8eccfd8)
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-08 11:21:08 +01:00
..
2023-10-25 11:13:33 +02:00
2023-09-23 10:46:59 +02:00
2023-08-30 16:35:13 +02:00
2023-10-25 11:13:32 +02:00
2023-08-11 11:33:32 +02:00
2023-11-08 11:21:07 +01:00
2023-08-11 11:33:56 +02:00
2023-10-25 11:13:31 +02:00
2023-02-22 12:46:01 +01:00
2023-10-10 21:43:39 +02:00
2023-10-10 21:43:39 +02:00
2023-09-23 10:46:54 +02:00
2023-09-23 10:47:01 +02:00
2023-09-23 10:46:59 +02:00
2023-01-18 09:26:22 +01:00
2023-09-23 10:46:59 +02:00
2023-08-30 16:35:16 +02:00
2023-02-06 07:46:31 +01:00
2023-08-11 11:33:39 +02:00
2023-08-11 11:33:32 +02:00
2023-02-22 12:46:02 +01:00
2023-10-25 11:13:33 +02:00
2023-11-08 11:21:07 +01:00
2023-10-25 11:13:32 +02:00
2023-01-18 09:26:26 +01:00
2023-06-28 10:14:19 +02:00
2023-08-11 11:33:53 +02:00
2023-04-20 12:02:12 +02:00
2023-11-08 11:21:06 +01:00
2023-08-11 11:33:32 +02:00
2023-10-25 11:13:30 +02:00
2023-10-25 11:13:29 +02:00
2023-10-25 11:13:30 +02:00
2023-01-18 09:26:38 +01:00
2023-08-11 11:33:53 +02:00
2023-01-18 09:26:28 +01:00
2023-05-17 11:11:44 +02:00
2023-08-11 11:33:40 +02:00
2023-11-08 11:21:05 +01:00
2023-09-23 10:47:05 +02:00
2023-10-10 21:43:40 +02:00
2023-08-11 11:33:34 +02:00
2023-05-30 12:38:35 +01:00
2023-08-11 11:33:40 +02:00
2023-08-11 11:33:45 +02:00
2023-10-25 11:13:33 +02:00
2023-10-10 21:43:41 +02:00
2023-11-08 11:21:06 +01:00
2023-06-28 10:14:20 +02:00
2023-09-23 10:47:00 +02:00
2023-03-22 13:26:14 +01:00
2023-09-23 10:46:56 +02:00
2023-10-10 21:43:39 +02:00
2023-09-23 10:47:00 +02:00
2023-08-30 16:35:11 +02:00
2023-05-30 12:38:36 +01:00
2023-10-25 11:13:33 +02:00
2023-08-11 11:33:51 +02:00
2023-06-21 15:38:57 +02:00
2023-09-23 10:47:02 +02:00
2023-06-21 15:38:57 +02:00
2023-11-08 11:21:08 +01:00
2023-09-23 10:46:52 +02:00
2023-10-10 21:43:40 +02:00
2023-09-23 10:47:01 +02:00
2023-08-11 11:33:37 +02:00
2023-09-23 10:46:54 +02:00
2023-05-17 11:11:44 +02:00
2023-08-11 11:33:32 +02:00
2023-08-11 11:33:53 +02:00
2023-10-10 21:43:41 +02:00
2023-03-11 16:26:55 +01:00
2023-04-05 11:14:16 +02:00
2023-10-10 21:43:40 +02:00
2023-01-18 09:26:23 +01:00
2023-10-25 11:13:33 +02:00
2023-01-18 09:26:23 +01:00
2023-08-11 11:33:32 +02:00
2023-10-10 21:43:39 +02:00
2023-11-08 11:21:05 +01:00
2023-01-18 09:26:25 +01:00
2023-08-11 11:33:38 +02:00
2023-10-10 21:43:39 +02:00
2023-10-10 21:43:42 +02:00