From: David Miller <davem@davemloft.net>
To: arvind.yadav.cs@gmail.com
Cc: shannon.nelson@oracle.com, jag.raman@oracle.com,
liam.merwick@oracle.com, linux-kernel@vger.kernel.org,
sparclinux@vger.kernel.org
Subject: Re: [PATCH] sparc: vio: use put_device() instead of kfree()
Date: Mon, 30 Apr 2018 16:10:00 -0400 (EDT) [thread overview]
Message-ID: <20180430.161000.699679324055043425.davem@davemloft.net> (raw)
In-Reply-To: <a3722bda2eadf1ff229f73da6f0316f954956ae1.1524668025.git.arvind.yadav.cs@gmail.com>
From: Arvind Yadav <arvind.yadav.cs@gmail.com>
Date: Wed, 25 Apr 2018 20:26:14 +0530
> Never directly free @dev after calling device_register(), even
> if it returned an error. Always use put_device() to give up the
> reference initialized.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Applied and queued up for -stable, thanks.
prev parent reply other threads:[~2018-04-30 20:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-25 14:56 Arvind Yadav
2018-04-25 15:44 ` Shannon Nelson
2018-04-25 15:59 ` arvindY
2018-04-25 16:38 ` Shannon Nelson
2018-04-30 20:10 ` David Miller [this message]
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=20180430.161000.699679324055043425.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=arvind.yadav.cs@gmail.com \
--cc=jag.raman@oracle.com \
--cc=liam.merwick@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=shannon.nelson@oracle.com \
--cc=sparclinux@vger.kernel.org \
/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
all inboxes | Powered by JetHome®