Re: [PATCH] vmw_pvrdma: Release netdev when vmxnet3 module is removed

From: Neil Horman
Date: Sun Jul 01 2018 - 08:20:00 EST


On Sat, Jun 30, 2018 at 10:15:07PM +0300, Dan Carpenter wrote:
> Hi Neil,
>
> I love your patch! Perhaps something to improve:
>
> url: https://github.com/0day-ci/linux/commits/Neil-Horman/vmw_pvrdma-Release-netdev-when-vmxnet3-module-is-removed/20180628-232414
>
> smatch warnings:
> drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c:987 pvrdma_pci_probe() warn: variable dereferenced before check 'dev->netdev' (see line 985)
>
Appreciate the smatch check, but this was caught by visual review and fixed in V2 already.

Best
Neil