From: David Miller <davem@davemloft.net>
To: tglx@linutronix.de
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net: replace commatas with semicolons
Date: Mon, 16 Feb 2009 00:09:34 -0800 (PST) [thread overview]
Message-ID: <20090216.000934.65948249.davem@davemloft.net> (raw)
In-Reply-To: <alpine.LFD.2.00.0902132243480.3616@localhost.localdomain>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 13 Feb 2009 22:46:21 +0100 (CET)
> 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),
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Applied, please CC: netdev on future patches so that they
get properly tracked at:
http://patchwork.ozlabs.org/project/netdev/list/
Thank you.
> ---
> net/ipv4/proc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> Index: linux-2.6/net/ipv4/proc.c
> ===================================================================
> --- linux-2.6.orig/net/ipv4/proc.c
> +++ linux-2.6/net/ipv4/proc.c
> @@ -54,8 +54,8 @@ static int sockstat_seq_show(struct seq_
> int orphans, sockets;
>
> local_bh_disable();
> - orphans = percpu_counter_sum_positive(&tcp_orphan_count),
> - sockets = percpu_counter_sum_positive(&tcp_sockets_allocated),
> + orphans = percpu_counter_sum_positive(&tcp_orphan_count);
> + sockets = percpu_counter_sum_positive(&tcp_sockets_allocated);
> local_bh_enable();
>
> socket_seq_show(seq);
next prev parent reply other threads:[~2009-02-16 8:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-13 21:46 Thomas Gleixner
2009-02-13 22:59 ` Peter Zijlstra
2009-02-16 8:11 ` David Miller
2009-02-16 8:09 ` David Miller [this message]
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.000934.65948249.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.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
Powered by JetHome