From: Arvind Yadav <arvind.yadav.cs@gmail.com>
To: ohad@wizery.com, bjorn.andersson@linaro.org
Cc: linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org
Subject: [PATCH 0/2] rpmsg: use put_device() if device_register fail
Date: Thu, 8 Mar 2018 15:06:06 +0530 [thread overview]
Message-ID: <cover.1520501519.git.arvind.yadav.cs@gmail.com> (raw)
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
next reply other threads:[~2018-03-08 9:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-08 9:36 Arvind Yadav [this message]
2018-03-08 9:36 ` [PATCH 1/2] rpmsg: glink: use put_device() if device_register fail Arvind Yadav
2018-03-08 9:36 ` [PATCH 2/2] rpmsg: smd: " Arvind Yadav
2018-03-18 22:47 ` [PATCH 0/2] rpmsg: " Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1520501519.git.arvind.yadav.cs@gmail.com \
--to=arvind.yadav.cs@gmail.com \
--cc=bjorn.andersson@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=ohad@wizery.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox