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

Greg KH gregkh at linuxfoundation.org
Mon Jun 14 21:54:12 PDT 2021


On Mon, Jun 14, 2021 at 07:21:09PM -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>
> ---
>  drivers/remoteproc/remoteproc_core.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)


<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read:
    https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.

</formletter>



More information about the linux-arm-kernel mailing list