All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Ortiz <sameo@linux.intel.com>
To: Axel Lin <axel.lin@gmail.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	Harald Welte <laforge@openezx.org>,
	Daniel Ribeiro <drwyrm@gmail.com>
Subject: Re: [PATCH] mfd: Fix ezx_pcap_probe error path
Date: Tue, 19 Oct 2010 15:02:27 +0200	[thread overview]
Message-ID: <20101019130226.GP2736@sortiz-mobl> (raw)
In-Reply-To: <1287491304.2457.3.camel@phoenix>

Hi Axel,

On Tue, Oct 19, 2010 at 08:28:24PM +0800, Axel Lin wrote:
> return -ENOMEM if create_singlethread_workqueue failed.
Thanks for the patch, applied to my for-next branch.

Cheers,
Samuel.


> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
>  drivers/mfd/ezx-pcap.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/mfd/ezx-pcap.c b/drivers/mfd/ezx-pcap.c
> index d283d77..c2b698d 100644
> --- a/drivers/mfd/ezx-pcap.c
> +++ b/drivers/mfd/ezx-pcap.c
> @@ -465,6 +465,7 @@ static int __devinit ezx_pcap_probe(struct spi_device *spi)
>  	pcap->irq_base = pdata->irq_base;
>  	pcap->workqueue = create_singlethread_workqueue("pcapd");
>  	if (!pcap->workqueue) {
> +		ret = -ENOMEM;
>  		dev_err(&spi->dev, "cant create pcap thread\n");
>  		goto free_pcap;
>  	}
> -- 
> 1.7.0.4
> 
> 
> 

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

      reply	other threads:[~2010-10-19 13:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-19 12:28 [PATCH] mfd: Fix ezx_pcap_probe error path Axel Lin
2010-10-19 13:02 ` Samuel Ortiz [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=20101019130226.GP2736@sortiz-mobl \
    --to=sameo@linux.intel.com \
    --cc=axel.lin@gmail.com \
    --cc=drwyrm@gmail.com \
    --cc=laforge@openezx.org \
    --cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.