[PATCH v2 1/2] misc: fastrpc: Deregister device nodes properly in error scenarios

Greg KH gregkh at linuxfoundation.org
Mon Dec 23 10:10:03 UTC 2024


On Mon, Dec 23, 2024 at 03:31:00PM +0530, Anandu Krishnan E wrote:
> 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 <stable at kernel.org>
> Signed-off-by: Anandu Krishnan E <quic_anane at quicinc.com>
> ---
>  drivers/misc/fastrpc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Shouldn't this be a stand-alone patch, not part of a series, if you wish
to have it included in 6.14-final?

thanks,

greg k-h


More information about the dri-devel mailing list