From: Shannon Nelson Date: Wed, 15 Jan 2014 23:18:23 +0000 (-0800) Subject: i40e: check desc pointer before printing X-Git-Tag: v3.14-rc1~94^2~125 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68bf94aae1873cb112385830e1a98a36bf154970;p=pandora-kernel.git 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 Tested-by: Kavindya Deegala Signed-off-by: Aaron Brown Signed-off-by: David S. Miller --- Reading git-diff-tree failed