[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20101019130226.GP2736@sortiz-mobl>
Date: Tue, 19 Oct 2010 15:02:27 +0200
From: Samuel Ortiz <sameo@...ux.intel.com>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Harald Welte <laforge@...nezx.org>,
Daniel Ribeiro <drwyrm@...il.com>
Subject: Re: [PATCH] mfd: Fix ezx_pcap_probe error path
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@...il.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/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists