Re: [Patch 1/3] sysctl: refactor integer handling proc code

From: Cong Wang
Date: Tue May 04 2010 - 22:58:59 EST


Changli Gao wrote:
On Fri, Apr 30, 2010 at 4:25 PM, Amerigo Wang <amwang@xxxxxxxxxx> wrote:
+ if (*p == '-' && *size > 1) {
+ *neg = 1;

As neg is bool*, you should use true and false instead of 1 and 0.


Yeah, I only corrected those lines that I touched, I should
correct them all.

Will fix.

Thanks.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/