i40e/base: clean adminq debug
authorHelin Zhang <helin.zhang@intel.com>
Thu, 30 Apr 2015 15:03:29 +0000 (23:03 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 17 May 2015 21:17:26 +0000 (23:17 +0200)
commitf388b435bc3337926730a5e4d76c7edf43ff1103
tree5d61d32b253f5ce6d9604ff1dcb85ad75be775f0
parentc3a39d517a03b6289a94c0f02cd8dd0bf28d47e2
i40e/base: clean adminq debug

A sparse complaint in i40e_debug_aq in a funky buffer write goes
away by straightening out the code out to something less convoluted.

Test report: http://www.dpdk.org/ml/archives/dev/2015-May/017384.html

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jijiang Liu <jijiang.liu@intel.com>
Tested-by: Min Cao <min.cao@intel.com>
lib/librte_pmd_i40e/i40e/i40e_common.c