From: David Miller <davem@davemloft.net>
To: baoyou.xie@linaro.org
Cc: yisen.zhuang@huawei.com, salil.mehta@huawei.com,
yankejian@huawei.com, huangdaode@hisilicon.com,
lisheng011@huawei.com, xieqianqian@huawei.com, fabf@skynet.be,
lipeng321@huawei.com, colin.king@canonical.com,
simon.horman@netronome.com, arnd@arndb.de, andrew@lunn.ch,
ivecera@redhat.com, chenny.xu@huawei.com, xypron.glpk@gmx.de,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
xie.baoyou@zte.com.cn, han.fei@zte.com.cn,
tang.qiang007@zte.com.cn
Subject: Re: [PATCH v3] net: hns: mark symbols static where possible
Date: Mon, 03 Oct 2016 21:52:00 -0400 (EDT) [thread overview]
Message-ID: <20161003.215200.2029190598743365433.davem@davemloft.net> (raw)
In-Reply-To: <1475309726-21334-1-git-send-email-baoyou.xie@linaro.org>
From: Baoyou Xie <baoyou.xie@linaro.org>
Date: Sat, 1 Oct 2016 16:15:26 +0800
> We get a few warnings when building kernel with W=1:
...
> In fact, these functions are only used in the file in which they are
> declared and don't need a declaration, but can be made static.
> So this patch marks these functions with 'static'.
>
> Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Still doesn't apply to net-next.
next prev parent reply other threads:[~2016-10-04 1:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-01 8:15 [PATCH v3] net: hns: mark symbols static where possible Baoyou Xie
2016-10-04 1:52 ` David Miller [this message]
2016-10-04 7:42 ` Arnd Bergmann
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=20161003.215200.2029190598743365433.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=andrew@lunn.ch \
--cc=arnd@arndb.de \
--cc=baoyou.xie@linaro.org \
--cc=chenny.xu@huawei.com \
--cc=colin.king@canonical.com \
--cc=fabf@skynet.be \
--cc=han.fei@zte.com.cn \
--cc=huangdaode@hisilicon.com \
--cc=ivecera@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lipeng321@huawei.com \
--cc=lisheng011@huawei.com \
--cc=netdev@vger.kernel.org \
--cc=salil.mehta@huawei.com \
--cc=simon.horman@netronome.com \
--cc=tang.qiang007@zte.com.cn \
--cc=xie.baoyou@zte.com.cn \
--cc=xieqianqian@huawei.com \
--cc=xypron.glpk@gmx.de \
--cc=yankejian@huawei.com \
--cc=yisen.zhuang@huawei.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