[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100401104021.GA30121@oksana.dev.rtsoft.ru>
Date: Thu, 1 Apr 2010 14:40:21 +0400
From: Anton Vorontsov <cbouatmailru@...il.com>
To: Wolfram Sang <w.sang@...gutronix.de>
Cc: linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org,
Ryan Mallon <ryan@...ewatersys.com>,
Hans Verkuil <hverkuil@...all.nl>,
Jean Delvare <khali@...ux-fr.org>
Subject: Re: [PATCH] power/ds2782: fix clientdata on removal
On Thu, Apr 01, 2010 at 12:27:44PM +0200, Wolfram Sang wrote:
> Probably due to a copy & paste bug, clientdata was set again to the data
> structure (which is freed immediately afterwards) when it should be
> NULLed. Just remove the calls as the i2c-core does this automatically
> now.
>
> Signed-off-by: Wolfram Sang <w.sang@...gutronix.de>
> Cc: Ryan Mallon <ryan@...ewatersys.com>
> Cc: Hans Verkuil <hverkuil@...all.nl>
> Cc: Anton Vorontsov <cbouatmailru@...il.com>
> Cc: Jean Delvare <khali@...ux-fr.org>
> ---
>
> Anton: If it is okay with you, I think this should go via the I2C-tree to
> ensure it comes after the needed modification of the i2c-core.
Sure thing.
Acked-by: Anton Vorontsov <cbouatmailru@...il.com>
Thanks!
--
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