netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wei Yang <weiyang@linux.vnet.ibm.com>
To: David Miller <davem@davemloft.net>
Cc: weiyang@linux.vnet.ibm.com, dm@chelsio.com, netdev@vger.kernel.org
Subject: Re: [PATCH] cxgb4: remove workqueue when driver registration fails
Date: Mon, 16 Sep 2013 13:28:48 +0800	[thread overview]
Message-ID: <20130916052848.GA8238@weiyang.vnet.ibm.com> (raw)
In-Reply-To: <20130916.005324.187580687457026092.davem@davemloft.net>

On Mon, Sep 16, 2013 at 12:53:24AM -0400, David Miller wrote:
>From: Wei Yang <weiyang@linux.vnet.ibm.com>
>Date: Sun, 15 Sep 2013 21:53:00 +0800
>
>> When driver registration fails, we need to clean up the resources allocated
>> before. cxgb4 missed to destroy the workqueue allocated at the very beginning.
>> 
>> This patch destroies the workqueue when registration fails.
>> 
>> Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com>
>
>Applied.

Thanks~

-- 
Richard Yang
Help you, Help me

  reply	other threads:[~2013-09-16  5:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-15 13:53 [PATCH] cxgb4: remove workqueue when driver registration fails Wei Yang
2013-09-15 13:58 ` Wei Yang
2013-09-16  4:53 ` David Miller
2013-09-16  5:28   ` Wei Yang [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-09-06  1:32 Wei Yang
2013-09-11 19:52 ` David Miller
2013-09-15 12:24   ` Wei Yang

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=20130916052848.GA8238@weiyang.vnet.ibm.com \
    --to=weiyang@linux.vnet.ibm.com \
    --cc=davem@davemloft.net \
    --cc=dm@chelsio.com \
    --cc=netdev@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;
as well as URLs for NNTP newsgroup(s).