i40e: check vsi ptrs before dumping them
authorShannon Nelson <shannon.nelson@intel.com>
Sat, 28 Sep 2013 07:14:09 +0000 (07:14 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 22 Oct 2013 13:36:27 +0000 (06:36 -0700)
commit59072ba139549ff9850585fde3ec2935addfbff8
tree7a330b3a8a301ccb5b280a994c91e20561ee4b3c
parent738a9e9b641192e7bd784b4edb0af77151156e01
i40e: check vsi ptrs before dumping them

Make sure there really are rings and queues before trying to dump
information in them.

Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@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