lkml.org 
[lkml]   [2018]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] rpmsg: use put_device() if device_register fail
Date
if device_register() returned an error! Always use put_device()
to give up the reference initialized. unregister device for
other return error.


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

\
 
 \ /
  Last update: 2018-03-08 10:37    [W:0.037 / U:0.668 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site