diff options
author | Shannon Nelson <shannon.nelson@intel.com> | 2014-01-15 15:18:23 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-16 17:20:37 -0800 |
commit | 68bf94aae1873cb112385830e1a98a36bf154970 (patch) | |
tree | 24a10d1ae6cee4c83851559e6fb88686b41cb970 /drivers/net/ethernet/intel/i40e/i40e.h | |
parent | b01f236c66b214a73816a4083050f73481638a72 (diff) | |
download | blackbird-op-linux-68bf94aae1873cb112385830e1a98a36bf154970.tar.gz blackbird-op-linux-68bf94aae1873cb112385830e1a98a36bf154970.zip |
i40e: check desc pointer before printing
Check that the descriptors were allocated before trying to dump
them to the logfile. While we're there, de-trick-ify the code
so as to be easier to read and not abusing the types and unions.
Change-ID: I22898f4b22cecda3582d4d9e4018da9cd540f177
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e.h')
0 files changed, 0 insertions, 0 deletions