On Mon, 2007-05-07 at 14:06 -0700, Andrew Morton wrote: > On Mon, 07 May 2007 14:50:19 -0500 > James Bottomley <James.Bottomley@xxxxxxxxxxxx> wrote: > > > On Thu, 2007-04-26 at 00:35 -0700, akpm@xxxxxxxxxxxxxxxxxxxx wrote: > > > From: Richard Knutsson <ricknu-0@xxxxxxxxxxxxxx> > > > > > > Convert: > > > FALSE -> false > > > TRUE -> true > > > > NAK'd by maintainer. > > > > I went back and reviewed the previous discussion. Maintaner's reasons for > NAKing were, and remain wholly specious. Well, I agree with them. There are three primary reasons for this 1. In C logical values are arithmetic types by design. Trying to backfill C++ ideas of separation of logical and arithmetic types is asking for bugs. 2. If people have to use boolean values (which I don't like; I prefer simple assignment and checking), I prefer the upper case values because, effectively, they're simple arithmetical constants. 3. it's going to generate a huge amount of churn in all the subsystems and drivers for no appreciable benefit. Unless someone can actually articulate one? (Other than "because it's there"). The patch in question basically just downcased the TRUE/FALSE in the driver, which makes it less readable (mainly because I really don't like the way it uses truth values, but that's a maintainer's prerogative, and I recognise the upper case values as warning me to be careful). > That being said, the patch is moderately wrong (or at least incomplete) > because it does things like: > > - unsigned char done = FALSE; > + unsigned char done = false; > > whereas it should have done > > - unsigned char done = FALSE; > + bool done = false; And the value to the driver of this transformation? James - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html