i40e: check for netdev before debugfs use
authorShannon Nelson <[email protected]>
Thu, 6 Mar 2014 09:00:02 +0000 (09:00 +0000)
committerJeff Kirsher <[email protected]>
Fri, 28 Mar 2014 13:54:00 +0000 (06:54 -0700)
commitca04657b9d529f11ca6f85f83016d77bcb41b6b4
tree094d75e001ce3ff4c5e3cbe15006ea39e32156b9
parentc5503603430bb255f67f518466fd79e924aabe31
i40e: check for netdev before debugfs use

Make sure the VSI has a netdev before trying to use it
in the debugfs netdev_ops commands.

Change-ID: I2d744fc0c32b3226534ce2cde171d9675c5440a6
Signed-off-by: Shannon Nelson <[email protected]>
Signed-off-by: Catherine Sullivan <[email protected]>
Tested-by: Kavindya Deegala <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/i40e/i40e_debugfs.c