enic: fix build with clang
authorSujith Sankar <ssujith@cisco.com>
Sat, 29 Nov 2014 07:17:37 +0000 (12:47 +0530)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 1 Dec 2014 11:24:04 +0000 (12:24 +0100)
commit91f7dd5d5e6e7dff7323206bd6cde106560f93f7
tree003ac9d3995e57fadd4776d67fdf9136a368bf7b
parent06c57d54ef7ddc8f74a14f245daaa0eabd06cc8f
enic: fix build with clang

This patch fixes the warnings and error reported by clang compiler on Linux.

Reported-by: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: Sujith Sankar <ssujith@cisco.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_pmd_enic/enic.h
lib/librte_pmd_enic/enic_compat.h
lib/librte_pmd_enic/enic_main.c
lib/librte_pmd_enic/vnic/vnic_dev.c
lib/librte_pmd_enic/vnic/vnic_dev.h