[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200603003606.GA132773@ziepe.ca>
Date: Tue, 2 Jun 2020 21:36:06 -0300
From: Jason Gunthorpe <jgg@...pe.ca>
To: YueHaibing <yuehaibing@...wei.com>
Cc: mike.marciniszyn@...el.com, dennis.dalessandro@...el.com,
dledford@...hat.com, sadanand.warrier@...el.com,
grzegorz.andrejczuk@...el.com, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org, dan.carpenter@...cle.com,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH -next] IB/hfi1: Use free_netdev() in hfi1_netdev_free()
On Tue, Jun 02, 2020 at 02:16:35PM +0800, YueHaibing wrote:
> dummy_netdev shold be freed by free_netdev() instead of
> kfree(). Also remove unneeded variable 'priv'
>
> Fixes: 4730f4a6c6b2 ("IB/hfi1: Activate the dummy netdev")
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> Reported-by: kbuild test robot <lkp@...el.com>
> Reported-by: Dan Carpenter <dan.carpenter@...cle.com>
> Reviewed-by: Dennis Dalessandro <dennis.dalessandro@...el.com>
> ---
> drivers/infiniband/hw/hfi1/netdev_rx.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
Applied to for-next, thanks
Jason
Powered by blists - more mailing lists