From: Xinming Hu <huxm@marvell.com>
To: Colin King <colin.king@canonical.com>,
Amitkumar Karwar <amitkarwar@gmail.com>,
Nishant Sarmukadam <nishants@marvell.com>,
"Ganapathi Bhat" <gbhat@marvell.com>,
Kalle Valo <kvalo@codeaurora.org>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Cc: "kernel-janitors@vger.kernel.org"
<kernel-janitors@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Cathy Luo <cluo@marvell.com>
Subject: Re: [PATCH][-next] mwifiex: make function mwifiex_ret_pkt_aggr_ctrl static
Date: Mon, 5 Jun 2017 08:23:13 +0000 [thread overview]
Message-ID: <0edf9f73cf2f49788ef767658cd038d0@SC-EXCH02.marvell.com> (raw)
In-Reply-To: <20170602085639.29338-1-colin.king@canonical.com>
Hi Colin,
> -----Original Message-----
> From: Colin King [mailto:colin.king@canonical.com]
> Sent: 2017年6月2日 16:57
> To: Amitkumar Karwar; Nishant Sarmukadam; Ganapathi Bhat; Xinming Hu;
> Kalle Valo; linux-wireless@vger.kernel.org; netdev@vger.kernel.org
> Cc: kernel-janitors@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: [EXT] [PATCH][-next] mwifiex: make function
> mwifiex_ret_pkt_aggr_ctrl static
>
> External Email
>
> ----------------------------------------------------------------------
> From: Colin Ian King <colin.king@canonical.com>
>
> function mwifiex_ret_pkt_aggr_ctrl can be made static as it does not need to
> be in global scope.
>
> Cleans up sparse warning: "symbol 'mwifiex_ret_pkt_aggr_ctrl' was not
> declared. Should it be static?"
Yes, it should be static, Thanks,
Regards,
Simon
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
> drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c
> b/drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c
> index 3348fb3a7514..2945775e83c5 100644
> --- a/drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c
> +++ b/drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c
> @@ -1154,8 +1154,8 @@ static int mwifiex_ret_chan_region_cfg(struct
> mwifiex_private *priv,
> return 0;
> }
>
> -int mwifiex_ret_pkt_aggr_ctrl(struct mwifiex_private *priv,
> - struct host_cmd_ds_command *resp)
> +static int mwifiex_ret_pkt_aggr_ctrl(struct mwifiex_private *priv,
> + struct host_cmd_ds_command *resp)
> {
> struct host_cmd_ds_pkt_aggr_ctrl *pkt_aggr_ctrl =
> &resp->params.pkt_aggr_ctrl;
> --
> 2.11.0
next prev parent reply other threads:[~2017-06-05 8:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-02 8:56 Colin King
2017-06-05 8:23 ` Xinming Hu [this message]
2017-06-13 7:01 ` [-next] " Kalle Valo
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=0edf9f73cf2f49788ef767658cd038d0@SC-EXCH02.marvell.com \
--to=huxm@marvell.com \
--cc=amitkarwar@gmail.com \
--cc=cluo@marvell.com \
--cc=colin.king@canonical.com \
--cc=gbhat@marvell.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=kvalo@codeaurora.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nishants@marvell.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
all inboxes | Powered by JetHome®