[PATCH v4 2/4] remoteproc: core: Move validate before device add

Greg KH greg at kroah.com
Tue Jun 15 12:06:16 PDT 2021


On Tue, Jun 15, 2021 at 12:03:42PM -0700, Siddharth Gupta wrote:
> We can validate whether the remoteproc is correctly setup before
> making the cdev_add and device_add calls. This saves us the
> trouble of cleaning up later on.
> 
> Signed-off-by: Siddharth Gupta <sidgup at codeaurora.org>
> Reviewed-by: Bjorn Andersson <bjorn.andersson at linaro.org>
> Cc: stable at vger.kernel.org
> ---
>  drivers/remoteproc/remoteproc_core.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 

Why is this relevant for stable?  What commit does this fix?  Please put
a Fixes: tag for that.

thanks,

greg k-h



More information about the linux-arm-kernel mailing list