[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101102193150.GA14504@elliptictech.com>
Date: Tue, 2 Nov 2010 15:31:50 -0400
From: Nick Bowler <nbowler@...iptictech.com>
To: Lukas Czerner <lczerner@...hat.com>
Cc: kevin granade <kevin.granade@...il.com>, Ted Ts'o <tytso@....edu>,
Stefan Richter <stefanr@...6.in-berlin.de>,
linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: ext4_lazyinit_thread: 'ret' may be used uninitialized in this
function
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/)
--
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