From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Subject: Re: [PATCH 2/2] I2C: Implement DMA support into mxs-i2c Date: Tue, 1 May 2012 16:02:56 +0200 Message-ID: <201205011602.56563.marex@denx.de> References: <1335738969-27445-1-git-send-email-marex@denx.de> <20120430210108.GE28226@pengutronix.de> <20120501135800.GL2194@S2101-09.ap.freescale.net> Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120501135800.GL2194-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Shawn Guo Cc: Wolfram Sang , Wolfgang Denk , Detlev Zundel , Stefano Babic , Linux I2C , Fabio Estevam , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-i2c@vger.kernel.org Dear Shawn Guo, > On Mon, Apr 30, 2012 at 11:01:08PM +0200, Wolfram Sang wrote: > > > > > It complains that data might be undefined, do you want it in a > > > > > separate patch then ? > > > > > > > > Yes, but only if you can prove that the compiler is right. > > > > > > It's not right, because that variable is always initialized, but this > > > at least squashes the compile warning. > > > > The compiler needs to be fixed, not the kernel. I second this. > Heh, this is coming up again. I'm not convincing you to take the > change, but just curious what if this is not a compile warning but > an error for the same cause that compiler is not right. Can you elaborate? Best regards, Marek Vasut