From: David Miller <davem@davemloft.net>
To: gregory.dietsche@cuw.edu
Cc: andy.grover@oracle.com, netdev@vger.kernel.org,
rds-devel@oss.oracle.com, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] net: rds: fix const array syntax
Date: Fri, 01 Jul 2011 16:15:30 -0700 (PDT) [thread overview]
Message-ID: <20110701.161530.405101095066596400.davem@davemloft.net> (raw)
In-Reply-To: <4E0E546B.3000106@cuw.edu>
From: Greg Dietsche <gregory.dietsche@cuw.edu>
Date: Fri, 01 Jul 2011 18:12:43 -0500
> On 07/01/2011 05:50 PM, Greg Dietsche wrote:
>> Correct the syntax so that both array and pointer are const.
>>
>> Signed-off-by: Greg Dietsche<Gregory.Dietsche@cuw.edu>
>> ---
>> net/rds/tcp_stats.c | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/net/rds/tcp_stats.c b/net/rds/tcp_stats.c
>> index d5898d0..f8a7954 100644
>> --- a/net/rds/tcp_stats.c
>> +++ b/net/rds/tcp_stats.c
>> @@ -40,7 +40,7 @@
>> DEFINE_PER_CPU(struct rds_tcp_statistics, rds_tcp_stats)
>> ____cacheline_aligned;
>>
>> -static const char const *rds_tcp_stat_names[] = {
>> +static const char * const rds_tcp_stat_names[] = {
>> "tcp_data_ready_calls",
>> "tcp_write_space_calls",
>> "tcp_sndbuf_full",
>>
> Andy's email is bouncing (Recipient unknown)... if someone else could
> pick this up, that'd be great!
I'll take care of it.
next prev parent reply other threads:[~2011-07-01 23:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-01 22:50 [PATCH] net: rds: fix const array syntax Greg Dietsche
2011-07-01 23:12 ` Greg Dietsche
2011-07-01 23:15 ` David Miller [this message]
2011-07-01 23:16 ` David Miller
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=20110701.161530.405101095066596400.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=andy.grover@oracle.com \
--cc=gregory.dietsche@cuw.edu \
--cc=kernel-janitors@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=rds-devel@oss.oracle.com \
/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;
as well as URLs for NNTP newsgroup(s).