From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from rcsinet15.oracle.com ([148.87.113.117]:34213 "EHLO rcsinet15.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752989Ab2FRU4o (ORCPT ); Mon, 18 Jun 2012 16:56:44 -0400 Date: Mon, 18 Jun 2012 23:56:29 +0300 From: Dan Carpenter To: Ezequiel Garcia Cc: Mauro Carvalho Chehab , linux-media , Palash Bandyopadhyay , stoth@kernellabs.com Subject: Re: [PATCH 0/12] struct i2c_algo_bit_data cleanup on several drivers Message-ID: <20120618205629.GI13539@mwanda> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-media-owner@vger.kernel.org List-ID: On Mon, Jun 18, 2012 at 04:23:14PM -0300, Ezequiel Garcia wrote: > Hi Mauro, > > This patchset cleans the i2c part of some drivers. > This issue was recently reported by Dan Carpenter [1], > and revealed wrong (and harmless) usage of struct i2c_algo_bit. > How is this harmless? We are setting the function pointers to something completely bogus. It seems like a bad thing. regards, dan carpenter