The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: peterz@infradead.org
Cc: tglx@linutronix.de, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net: replace commatas with semicolons
Date: Mon, 16 Feb 2009 00:11:04 -0800 (PST)	[thread overview]
Message-ID: <20090216.001104.233095882.davem@davemloft.net> (raw)
In-Reply-To: <1234565983.4831.9.camel@laptop>

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. :-)


  reply	other threads:[~2009-02-16  8:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-13 21:46 [PATCH] net: replace commatas with semicolons Thomas Gleixner
2009-02-13 22:59 ` Peter Zijlstra
2009-02-16  8:11   ` David Miller [this message]
2009-02-16  8:09 ` David Miller
2009-02-16 14:00 ` Johannes Weiner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090216.001104.233095882.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox