diff options
| author | Anandu Krishnan E <quic_anane@quicinc.com> | 2025-01-10 13:42:37 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-17 10:05:41 +0100 |
| commit | a2544ebcb466e5a19c06ee30ae36919127fec0d7 (patch) | |
| tree | 63524d857f587c10460cf36b29ce77e9d21549e1 /scripts/git.orderFile | |
| parent | 8b4120b3e060e137eaa8dc76a1c40401088336e5 (diff) | |
| download | linux-a2544ebcb466e5a19c06ee30ae36919127fec0d7.tar.gz linux-a2544ebcb466e5a19c06ee30ae36919127fec0d7.tar.bz2 linux-a2544ebcb466e5a19c06ee30ae36919127fec0d7.zip | |
misc: fastrpc: Deregister device nodes properly in error scenarios
commit 637c20002dc8c347001292664055bfbf56544ec6 upstream.
During fastrpc_rpmsg_probe, if secure device node registration
succeeds but non-secure device node registration fails, the secure
device node deregister is not called during error cleanup. Add proper
exit paths to ensure proper cleanup in case of error.
Fixes: 3abe3ab3cdab ("misc: fastrpc: add secure domain support")
Cc: stable@kernel.org
Signed-off-by: Anandu Krishnan E <quic_anane@quicinc.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20250110134239.123603-2-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
