[dpdk-stable] [dpdk-dev] [PATCH] eal/linux: fix build when VFIO is disabled
Thomas Monjalon
thomas at monjalon.net
Sun Jan 19 23:42:55 CET 2020
11/12/2019 19:25, Ali Alnubani:
> The header linux/version.h isn't included when CONFIG_RTE_EAL_VFIO
> is explicitly disabled. LINUX_VERSION_CODE and KERNEL_VERSION are
> therefore undefined, causing the build failure:
>
> lib/librte_eal/linux/eal/eal.c: In function ‘rte_eal_init’:
> lib/librte_eal/linux/eal/eal.c:1076:32: error: "LINUX_VERSION_CODE" is
> not defined, evaluates to 0 [-Werror=undef]
>
> Fixes: a0dede62a537 ("eal/linux: remove KNI restriction on IOVA")
> Cc: vattunuru at marvell.com
> Cc: stable at dpdk.org
>
> Signed-off-by: Ali Alnubani <alialnu at mellanox.com>
Applied, thanks
More information about the stable
mailing list