From: Nick Bowler Subject: Re: ext4_lazyinit_thread: 'ret' may be used uninitialized in this function Date: Tue, 2 Nov 2010 15:31:50 -0400 Message-ID: <20101102193150.GA14504@elliptictech.com> References: <20101102182911.GE25614@thunk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kevin granade , Ted Ts'o , Stefan Richter , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org To: Lukas Czerner Return-path: Received: from dsl-67-204-24-19.acanac.net ([67.204.24.19]:37122 "EHLO mail.ellipticsemi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752732Ab0KBTcK (ORCPT ); Tue, 2 Nov 2010 15:32:10 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-ext4-owner@vger.kernel.org List-ID: On 2010-11-02 15:19 -0400, Lukas Czerner wrote: > Hmm this relies on the fact that if the first part of the condition > would not be true, the second part (after and) would never be invoked, > however I am not really sure that we can rely on that on every > architecture, or can we ? This behaviour of the && operator is guaranteed by the C standard. -- Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)