blauwir...@gmail.com writes: > From: Blue Swirl <blauwir...@gmail.com> > > Use 'bool' type for return value of bit test functions.
Matter of taste. 'bool' makes sense if you think of these functions as predicates (ugly ones, with side effects). 'int' makes sense if you think of them as returning the bit value (a bit is not a truth value in my book). In my opinion, this is just unnecessary churn, and unnecessary deviation from established kernel practice.