commit | df9000ef9609c8a5e57783d0667ba7f39f52ed1e | [log] [tgz] |
---|---|---|
author | Pavel Belous <pavel.belous@aquantia.com> | Mon Feb 20 22:36:46 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Feb 20 17:11:09 2017 -0500 |
tree | 3577f23d8ce2925166c9b48538f9bee8bc773271 | |
parent | b350d7b8b8c99d67dc9a21eeeb1f3564c5213cbd [diff] |
net: ethernet: aquantia: Null pointer check for aq_nic_ndev_alloc. We should check for a null pointer for aq_nic_ndev_alloc instead netdev_priv. Signed-off-by: Pavel Belous <pavel.belous@aquantia.com> Reviewed-by: Lino Sanfilippo <LinoSanfilippo@gmx.de> Signed-off-by: David S. Miller <davem@davemloft.net>