All of lore.kernel.org
 help / color / mirror / Atom feed
From: Raju Rangoju <rajur@chelsio.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [PATCH -next] iw_cxgb4: make function read_tcb() static
Date: Mon, 18 Feb 2019 11:24:05 +0000	[thread overview]
Message-ID: <20190218111204.GA1204@chelsio.com> (raw)
In-Reply-To: <20190218070432.167400-1-weiyongjun1@huawei.com>

On Monday, February 02/18/19, 2019 at 07:04:32 +0000, Wei Yongjun wrote:
> Fixes the following sparse warning:
> 
> drivers/infiniband/hw/cxgb4/cm.c:658:6: warning:
>  symbol 'read_tcb' was not declared. Should it be static?
> 
> Fixes: 11a27e2121a5 ("iw_cxgb4: complete the cached SRQ buffers")
> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
> ---
>  drivers/infiniband/hw/cxgb4/cm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
> index ae90b2932bd2..4d232bdf9e97 100644
> --- a/drivers/infiniband/hw/cxgb4/cm.c
> +++ b/drivers/infiniband/hw/cxgb4/cm.c
> @@ -655,7 +655,7 @@ static int send_halfclose(struct c4iw_ep *ep)
>  	return c4iw_l2t_send(&ep->com.dev->rdev, skb, ep->l2t);
>  }
>  
> -void read_tcb(struct c4iw_ep *ep)
> +static void read_tcb(struct c4iw_ep *ep)
>  {
>  	struct sk_buff *skb;
>  	struct cpl_get_tcb *req;
> 
>
Acked-by: Raju Rangoju <rajur@chelsio.com>
> 

  reply	other threads:[~2019-02-18 11:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-18  6:51 [PATCH -next] iw_cxgb4: make function read_tcb() static Wei Yongjun
2019-02-18 11:24 ` Raju Rangoju [this message]
2019-02-19 22:01 ` Jason Gunthorpe

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=20190218111204.GA1204@chelsio.com \
    --to=rajur@chelsio.com \
    --cc=kernel-janitors@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.