On 10/14/2018 3:34 AM, Haiyue Wang wrote:
> 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: [email protected]
>
> Signed-off-by: Haiyue Wang <[email protected]>
Reviewed-by: Ferruh Yigit <[email protected]>
Applied to dpdk-next-net/master, thanks.
(To prevent issue like this in the future, it is best to convert this Makefile
enabled/disable flag to config file, or perhaps tie it to already existing
DEBUG_TX / DEBUG_RX config options.)