From: Vinod Koul <vkoul@kernel.org>
To: Dave Jiang <dave.jiang@intel.com>
Cc: dmaengine@vger.kernel.org, jerry.t.chen@intel.com
Subject: Re: [PATCH] dmaengine: idxd: fix runaway module ref count on device driver bind
Date: Thu, 13 Feb 2020 20:10:21 +0530 [thread overview]
Message-ID: <20200213144021.GJ2618@vkoul-mobl> (raw)
In-Reply-To: <158144296730.41381.12134210685456322434.stgit@djiang5-desk3.ch.intel.com>
On 11-02-20, 10:42, Dave Jiang wrote:
> idxd_config_bus_probe() calls try_module_get() but never calls module_put()
> when it fails. Thus with every failed attempt, the ref count goes up. Add
> module_put() in failure paths.
Applied, thanks
--
~Vinod
prev parent reply other threads:[~2020-02-13 14:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-11 17:42 [PATCH] dmaengine: idxd: fix runaway module ref count on device driver bind Dave Jiang
2020-02-13 14:40 ` Vinod Koul [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=20200213144021.GJ2618@vkoul-mobl \
--to=vkoul@kernel.org \
--cc=dave.jiang@intel.com \
--cc=dmaengine@vger.kernel.org \
--cc=jerry.t.chen@intel.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