From: Shannon Nelson Date: Thu, 13 Nov 2014 08:23:22 +0000 (+0000) Subject: i40e: check for AQ timeout in aq_rc decode X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~32^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf848f328cf5b531245e09a7a069b6d8979d31c1;p=pandora-kernel.git i40e: check for AQ timeout in aq_rc decode Decoding the AQ return code is great except when the AQ send timed out and there's no return code set. This changes the handy decoder interface to help catch and properly report the condition as a useful errno rather than returning a misleading '0'. Change-ID: I07a1f94f921606da49ffac7837bcdc37cd8222eb Signed-off-by: Shannon Nelson Acked-by: Jesse Brandeburg Tested-by: Jim Young Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed