From: Jerry Stralko <gerb.stralko@gmail.com>
To: gregkh@linuxfoundation.org, oleg.drokin@intel.com,
andreas.dilger@intel.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging : lustre : Fixed static symbol sparse warnings
Date: Fri, 24 Oct 2014 14:34:48 -0400 [thread overview]
Message-ID: <544A9BC8.7040608@gmail.com> (raw)
In-Reply-To: <1413766604-3658-1-git-send-email-gerb.stralko@gmail.com>
On 10/19/2014 08:56 PM, Jerry Stralko wrote:
> Signed-off-by: Jerry Stralko <gerb.stralko@gmail.com>
> ---
> drivers/staging/lustre/lnet/lnet/lib-move.c | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/staging/lustre/lnet/lnet/lib-move.c b/drivers/staging/lustre/lnet/lnet/lib-move.c
> index 4b9567d..5754725 100644
> --- a/drivers/staging/lustre/lnet/lnet/lib-move.c
> +++ b/drivers/staging/lustre/lnet/lnet/lib-move.c
> @@ -561,7 +561,7 @@ lnet_extract_kiov(int dst_niov, lnet_kiov_t *dst,
> }
> EXPORT_SYMBOL(lnet_extract_kiov);
>
> -void
> +static void
> lnet_ni_recv(lnet_ni_t *ni, void *private, lnet_msg_t *msg, int delayed,
> unsigned int offset, unsigned int mlen, unsigned int rlen)
> {
> @@ -599,7 +599,7 @@ lnet_ni_recv(lnet_ni_t *ni, void *private, lnet_msg_t *msg, int delayed,
> lnet_finalize(ni, msg, rc);
> }
>
> -void
> +static void
> lnet_setpayloadbuffer(lnet_msg_t *msg)
> {
> lnet_libmd_t *md = msg->msg_md;
> @@ -639,7 +639,7 @@ lnet_prep_send(lnet_msg_t *msg, int type, lnet_process_id_t target,
> msg->msg_hdr.payload_length = cpu_to_le32(len);
> }
>
> -void
> +static void
> lnet_ni_send(lnet_ni_t *ni, lnet_msg_t *msg)
> {
> void *priv = msg->msg_private;
> @@ -654,7 +654,7 @@ lnet_ni_send(lnet_ni_t *ni, lnet_msg_t *msg)
> lnet_finalize(ni, msg, rc);
> }
>
> -int
> +static int
> lnet_ni_eager_recv(lnet_ni_t *ni, lnet_msg_t *msg)
> {
> int rc;
> @@ -679,7 +679,7 @@ lnet_ni_eager_recv(lnet_ni_t *ni, lnet_msg_t *msg)
> }
>
> /* NB: caller shall hold a ref on 'lp' as I'd drop lnet_net_lock */
> -void
> +static void
> lnet_ni_query_locked(lnet_ni_t *ni, lnet_peer_t *lp)
> {
> unsigned long last_alive = 0;
> @@ -731,7 +731,7 @@ lnet_peer_is_alive(lnet_peer_t *lp, unsigned long now)
>
> /* NB: returns 1 when alive, 0 when dead, negative when error;
> * may drop the lnet_net_lock */
> -int
> +static int
> lnet_peer_alive_locked(lnet_peer_t *lp)
> {
> unsigned long now = cfs_time_current();
> @@ -871,7 +871,7 @@ lnet_post_send_locked(lnet_msg_t *msg, int do_send)
> }
>
>
> -lnet_rtrbufpool_t *
> +static lnet_rtrbufpool_t *
> lnet_msg2bufpool(lnet_msg_t *msg)
> {
> lnet_rtrbufpool_t *rbp;
> @@ -891,7 +891,7 @@ lnet_msg2bufpool(lnet_msg_t *msg)
> return rbp;
> }
>
> -int
> +static int
> lnet_post_routed_recv_locked(lnet_msg_t *msg, int do_recv)
> {
> /* lnet_parse is going to lnet_net_unlock immediately after this, so it
Ping?
next prev parent reply other threads:[~2014-10-24 18:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-20 0:56 Jerry Stralko
2014-10-24 18:34 ` Jerry Stralko [this message]
[not found] <1413654207-19800-1-git-send-email-gerb.stralko@gmail.com>
2014-10-29 8:27 ` Greg KH
2014-11-04 16:01 Jerry Stralko
2014-11-05 22:57 ` Greg KH
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=544A9BC8.7040608@gmail.com \
--to=gerb.stralko@gmail.com \
--cc=andreas.dilger@intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oleg.drokin@intel.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
Powered by JetHome