From: Mitch Williams Date: Fri, 17 Oct 2014 03:14:42 +0000 (+0000) Subject: i40evf: properly handle multiple AQ messages X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~291^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bdd6f74876e1bf4fc9849fe872000ecc944e71d;p=pandora-kernel.git i40evf: properly handle multiple AQ messages When we receive an admin queue message, the msg_size field in the event struct gets overwritten. Because of this, we need to reinit the field each time we go through the loop. Without this we may receive truncated messages due to the firmware thinking we have insufficient buffer size. Change-ID: I21dcca5114d91365d731169965ce3ffec0e4a190 Signed-off-by: Mitch Williams Signed-off-by: Patrick Lu Tested-by: Jim Young Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed