From: Anjali Singhai Jain Date: Thu, 10 Jul 2014 07:58:21 +0000 (+0000) Subject: i40e: Fix a few potential VF dereferences X-Git-Tag: omap-for-v3.17/fixes-against-rc2~24^2~24^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e7b5bd32c7cd303eec4880149636ffbc2098df8;p=pandora-kernel.git i40e: Fix a few potential VF dereferences In some functions we might be doing potential dereference without a check. This patch puts the check in place for all these functions. Also fix the "for loops" so that we increment VF at the right place so that we always do it even if we are short-circuiting the loop through continue. Change-ID: Id4276cfb1e841031bb7b6d6790c414242f364a9f Signed-off-by: Anjali Singhai Jain Tested-by: Jim Young Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed