]> git.karo-electronics.de Git - linux-beck.git/commit
i40e: check for netdev before debugfs use
authorShannon Nelson <shannon.nelson@intel.com>
Thu, 6 Mar 2014 09:00:02 +0000 (09:00 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
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 <shannon.nelson@intel.com>
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_debugfs.c