i40e/base: get rid of sparse warnings
authorHelin Zhang <helin.zhang@intel.com>
Tue, 9 Sep 2014 07:21:31 +0000 (15:21 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 7 Oct 2014 16:02:11 +0000 (18:02 +0200)
commitd0a51bf9f95f994ee8af496d8a769ebe1a5760e6
treedae4709a111e9289b34e573f1eb2df9db544a9bf
parent2408e5b4062412e16435d823248282c7dd906d4e
i40e/base: get rid of sparse warnings

There are variables that represent values in little endian.
Adding prefix of '__Le' can remove warnings during sparse
checks. In addition, remove some unreachable 'break' statements,
and add 'UL' on a couple of constants.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Reviewed-by: Chen Jing <jing.d.chen@intel.com>
Tested-by: HuilongX Xu <huilongx.xu@intel.com>
lib/librte_pmd_i40e/i40e/i40e_lan_hmc.c
lib/librte_pmd_i40e/i40e/i40e_lan_hmc.h