[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <F80267346F10C541946CBE8909F1C39E12170A3880@NOK-EUMSG-02.mgdnok.nokia.com>
Date: Fri, 16 Oct 2009 16:21:41 +0200
From: <ilkka.koskinen@...ia.com>
To: <sameo@...ux.intel.com>
CC: <linux-omap@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 1/2] twl4030: Do not dereference null pointer in error
path
Hi Samuel,
What is the status of this patch and the other one:
[PATCH 2/2] twl4030: Enable low-power mode to 32KHz oscillator
Cheers, Ilkka
>-----Original Message-----
>From: Koskinen Ilkka (Nokia-D/Tampere)
>Sent: 30 September, 2009 18:12
>To: linux-kernel@...r.kernel.org; sameo@...ux.intel.com
>Cc: linux-omap@...r.kernel.org; Koskinen Ilkka (Nokia-D/Tampere)
>Subject: [PATCH 1/2] twl4030: Do not dereference null pointer
>in error path
>
>Signed-off-by: Ilkka Koskinen <ilkka.koskinen@...ia.com>
>---
> drivers/mfd/twl4030-core.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
>diff --git a/drivers/mfd/twl4030-core.c b/drivers/mfd/twl4030-core.c
>index e424cf6..8cf0a02 100644
>--- a/drivers/mfd/twl4030-core.c
>+++ b/drivers/mfd/twl4030-core.c
>@@ -792,7 +792,7 @@ twl4030_probe(struct i2c_client *client,
>const struct i2c_device_id *id)
> twl->client = i2c_new_dummy(client->adapter,
> twl->address);
> if (!twl->client) {
>- dev_err(&twl->client->dev,
>+ dev_err(&client->dev,
> "can't attach client %d\n", i);
> status = -ENOMEM;
> goto fail;
>--
>1.6.0.4
>
>--
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