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@xxxxxxxxxx> > Reported-by: kbuild test robot <lkp@xxxxxxxxx> > Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Reviewed-by: Dennis Dalessandro <dennis.dalessandro@xxxxxxxxx> > --- > drivers/infiniband/hw/hfi1/netdev_rx.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) Applied to for-next, thanks Jason