From: Johan Hovold <johan@kernel.org>
To: Lin Yi <teroincn@163.com>
Cc: linux-usb@vger.kernel.org, johan@kernel.org,
gregkh@linuxfoundation.org, csong@cs.ucr.edu, zhiyunq@cs.ucr.edu,
ljian236@gmail.com, yiqiuping@gmail.com
Subject: [v2] USB: serial: mos7720: fix mos_parport refcount imbalance on error path
Date: Wed, 20 Mar 2019 14:18:42 +0100 [thread overview]
Message-ID: <20190320131842.GG15782@localhost> (raw)
On Wed, Mar 20, 2019 at 07:04:56PM +0800, Lin Yi wrote:
> Johan said that move the kref_get() and mos_parport assignment to the
> end of urbtrack initialisation is a better way, so move it. and
> mos_parport do not used until urbtrack initialisation.
>
> Signed-off-by: Lin Yi <teroincn@163.com>
> ---
Thanks for the v2. Now applied with a Fixes and Cc-stable tag and a
slightly updated commit message in order to make it more self-contained:
https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial.git/commit/?h=usb-linus&id=2908b076f5198d231de62713cb2b633a3a4b95ac
Johan
next reply other threads:[~2019-03-20 13:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-20 13:18 Johan Hovold [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-03-20 11:04 [v2] USB: serial: mos7720: fix mos_parport refcount imbalance on error path Lin Yi
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=20190320131842.GG15782@localhost \
--to=johan@kernel.org \
--cc=csong@cs.ucr.edu \
--cc=gregkh@linuxfoundation.org \
--cc=linux-usb@vger.kernel.org \
--cc=ljian236@gmail.com \
--cc=teroincn@163.com \
--cc=yiqiuping@gmail.com \
--cc=zhiyunq@cs.ucr.edu \
/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