From: David Miller <davem@davemloft.net>
To: shanwei88@gmail.com
Cc: amwang@redhat.com, netdev@vger.kernel.org, davidshan@tencent.com
Subject: Re: [PATCH net-next] net: fix some compiler warning in net/core/neighbour.c
Date: Wed, 05 Dec 2012 21:51:36 -0500 (EST) [thread overview]
Message-ID: <20121205.215136.40885654322570923.davem@davemloft.net> (raw)
In-Reply-To: <50C00544.7060307@gmail.com>
From: Shan Wei <shanwei88@gmail.com>
Date: Thu, 06 Dec 2012 10:39:00 +0800
> Cong Wang said, at 2012/12/6 10:04:
>> From: Cong Wang <amwang@redhat.com>
>>
>> net/core/neighbour.c:65:12: warning: 'zero' defined but not used [-Wunused-variable]
>> net/core/neighbour.c:66:12: warning: 'unres_qlen_max' defined but not used [-Wunused-variable]
>>
>> These variables are only used when CONFIG_SYSCTL is defined,
>> so move them under #ifdef CONFIG_SYSCTL.
>>
>> Reported-by: Fengguang Wu <fengguang.wu@intel.com>
>> Cc: Shan Wei <davidshan@tencent.com>
>> Cc: David S. Miller <davem@davemloft.net>
>> Signed-off-by: Cong Wang <amwang@redhat.com>
>
> Rapid response~~~ :-)
> Same patch in my tree,and i see your patch when prepare to submit it.
>
> Acked-by: Shan Wei <davidshan@tencent.com>
Applied.
prev parent reply other threads:[~2012-12-06 2:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-06 2:04 [PATCH net-next] net: fix some compiler warning in net/core/neighbour.c Cong Wang
2012-12-06 2:39 ` Shan Wei
2012-12-06 2:51 ` David Miller [this message]
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=20121205.215136.40885654322570923.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=amwang@redhat.com \
--cc=davidshan@tencent.com \
--cc=netdev@vger.kernel.org \
--cc=shanwei88@gmail.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).