Am 25.05.2015 um 23:14 schrieb Shailendra Verma: > Hello Richard, > > I will separate both the changes and will send the patches to you. > > What issue does this fix? IOW why is assigning 1 wrong? > >>>>> Yes, you are correct. There will be no issue in assigning 1 to the >>>>> variable. But according to coding guidelines we should only use >>>>> true/false for bool type variables.
Really? I don't see this in Documentation/CodingStyle and checkpatch.pl does not bark either. IMHO it is a matter of taste. But the individual maintainer has to decide. :-) Thanks, //richard P.s: Please don't crop the list of CC when replying. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

