diff options
| author | Bjorn Andersson <[email protected]> | 2023-01-09 14:39:31 -0800 |
|---|---|---|
| committer | Bjorn Andersson <[email protected]> | 2023-02-15 07:46:02 -0800 |
| commit | fb80ef67e8ff6a00d3faad4cb348dafdb8eccfd8 (patch) | |
| tree | a86687413ef88e4c2486688baa90e9d7347f3529 /drivers/fpga/tests/fpga-mgr-test.c | |
| parent | 3e74ec2f39362bffbd42854acbb67c7f4cb808f9 (diff) | |
rpmsg: glink: Release driver_override
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 <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions