From: Mitch Williams Date: Thu, 28 Nov 2013 06:39:39 +0000 (+0000) Subject: i40e: don't allocate zero size X-Git-Tag: v3.14-rc1~94^2~279^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3197ce220c821b869731872251f2e225c37cbbb0;p=pandora-kernel.git i40e: don't allocate zero size Shockingly, the compiler didn't flag this uninitialized variable. This fixes a potential memory corruption condition where ARQ messages are written to random memory locations. Change-Id: Iac82f4562d2bf3f42df3f3b2163d9cbed2160135 Signed-off-by: Mitch Williams Signed-off-by: Jesse Brandeburg Tested-by: Sibai Li Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed