From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fengguang Wu Subject: Re: [PATCH] ahci: qoriq: fixed using uninitialized variable warnings Date: Mon, 14 Sep 2015 12:04:56 +0800 Message-ID: <20150914040456.GA21102@wfg-t540p.sh.intel.com> References: <1441790182-20248-1-git-send-email-Yuantian.Tang@freescale.com> <20150909140130.GB22909@mtj.duckdns.org> <20150911135431.GP8114@mtj.duckdns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-ide-owner@vger.kernel.org To: Yuantian Tang Cc: Tejun Heo , "hdegoede@redhat.com" , "linux-ide@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" List-Id: devicetree@vger.kernel.org Yuantian, It's cross compiling on ARCH=openrisc. Thanks, Fengguang On Mon, Sep 14, 2015 at 03:02:27AM +0000, Yuantian Tang wrote: > Hello Tejun, > > The toolchain I used is: > gcc version 4.8.3 20140401 (prerelease) (Linaro GCC 4.8-2014.04) > > I have not found this warning using this tool chain with -Wuninitialized flag. > > Regards, > Yuantian > > > -----Original Message----- > > From: Tejun Heo [mailto:htejun@gmail.com] On Behalf Of Tejun Heo > > Sent: Friday, September 11, 2015 9:55 PM > > To: Tang Yuantian-B29983 > > Cc: hdegoede@redhat.com; linux-ide@vger.kernel.org; linux- > > kernel@vger.kernel.org; devicetree@vger.kernel.org; Fengguang Wu > > > > Subject: Re: [PATCH] ahci: qoriq: fixed using uninitialized variable warnings > > > > Hello, Yuantian. > > > > On Fri, Sep 11, 2015 at 05:27:25AM +0000, Yuantian Tang wrote: > > > Hi Tejun, > > > > > > Could you please take the version 1 patch? > > > The version 2 patch can't address these warnings, and the version 1 can > > definitely remove them. > > > In this case, that would cause any hidden bugs, so no worries. > > > > Ugh... I really hate changes which are made to just work around compiler > > silliness. If this is something which goes away with newer gcc, Fengguang can > > just make it as a known false positive. Yuantian, which compiler are you > > using? > > > > Thanks. > > > > -- > > tejun