net/avf: fix build with debug enabled
authorHaiyue Wang <haiyue.wang@intel.com>
Sun, 14 Oct 2018 02:34:05 +0000 (10:34 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 18 Oct 2018 08:24:39 +0000 (10:24 +0200)
commita710ceb1728497774408225d9327bbf512e9ba16
tree23574a767792f492043ba1179eb7fcf1956a6967
parent0eef26d073ea65d966cd512303c30ea7ca924e1d
net/avf: fix build with debug enabled

DEBUG_DUMP_DESC flag is enabled/disabled from Makefile and enabling it
causing the build issue.

Add the missed 'volatile' keyword to avoid the warning for type
mismatch, which will be treated as compiler error if WERROR_FLAGS
is enabled.

Fixes: bfd38e4d708b ("net/avf: fix missing compiler error flags")
CC: stable@dpdk.org
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/avf/avf_rxtx.h