[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210908114455.GC3190597@nvidia.com>
Date: Wed, 8 Sep 2021 08:44:55 -0300
From: Jason Gunthorpe <jgg@...dia.com>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Cc: mike.marciniszyn@...nelisnetworks.com,
dennis.dalessandro@...nelisnetworks.com, dledford@...hat.com,
linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] IB/hfi1: make hist static
On Mon, Sep 06, 2021 at 05:48:43PM +0800, Jiapeng Chong wrote:
> From: chongjiapeng <jiapeng.chong@...ux.alibaba.com>
>
> This symbol is not used outside of trace.c, so marks it static.
>
> Fix the following sparse warning:
>
> drivers/infiniband/hw/hfi1/trace.c:491:23: warning: symbol 'hist' was
> not declared. Should it be static?
>
> Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
> Signed-off-by: chongjiapeng <jiapeng.chong@...ux.alibaba.com>
> ---
> drivers/infiniband/hw/hfi1/trace.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to for-rc, thanks
Jason
Powered by blists - more mailing lists