[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090216.001104.233095882.davem@davemloft.net>
Date: Mon, 16 Feb 2009 00:11:04 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: peterz@...radead.org
Cc: tglx@...utronix.de, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: replace commatas with semicolons
From: Peter Zijlstra <peterz@...radead.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. :-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists