Messages in this thread | | | Date | Mon, 16 Feb 2009 00:11:04 -0800 (PST) | Subject | Re: [PATCH] net: replace commatas with semicolons | From | David Miller <> |
| |
From: Peter Zijlstra <peterz@infradead.org> 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. :-)
| |