Re: [PATCH] net: replace commatas with semicolons

From: David Miller
Date: Mon Feb 16 2009 - 03:11:30 EST


From: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Date: Fri, 13 Feb 2009 23:59:43 +0100

> On Fri, 2009-02-13 at 22:46 +0100, Thomas Gleixner wrote:
> > Impact: syntax fix
> >
> > Interestingly enough this compiles w/o any complaints:
> >
> > orphans = percpu_counter_sum_positive(&tcp_orphan_count),
> > sockets = percpu_counter_sum_positive(&tcp_sockets_allocated),
>
> Yep, the wonders of the , operator. Look her up the next time you're
> reading the C specs and marvel :-)

"," has nothing on "sizeof(unsigned (long))" which is accepted
by C compilers too. :-)

--
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/