Re: [PATCH 0/2] rpmsg: use put_device() if device_register fail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu 08 Mar 01:36 PST 2018, Arvind Yadav wrote:

> if device_register() returned an error! Always use put_device()
> to give up the reference initialized. unregister device for
> other return error.
> 

Patches applied.

Thanks,
Bjorn

> 
> Arvind Yadav (2):
>   [PATCH 1/2] rpmsg: glink: use put_device() if device_register fail
>   [PATCH 2/2] rpmsg: smd: use put_device() if device_register fail
> 
>  drivers/rpmsg/qcom_glink_smem.c | 3 ++-
>  drivers/rpmsg/qcom_smd.c        | 3 ++-
>  2 files changed, 4 insertions(+), 2 deletions(-)
> 
> -- 
> 1.9.1
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-remoteproc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux