Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
misc: fastrpc: Don't reference rpmsg_device after remove
As fastrpc_rpmsg_remove() returns the rpdev of the channel context is no longer a valid object, so ensure to update the channel context to no longer reference the old object and guard in the invoke code path against dereferencing it. Signed-off-by: Bjorn Andersson <[email protected]> Signed-off-by: Mayank Chopra <[email protected]> Signed-off-by: Abhinav Asati <[email protected]> Signed-off-by: Vamsi Singamsetty <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information