[dpdk-dev] [PATCH v2] vfio: fix compilation errors in bsdapp

Thomas Monjalon thomas at monjalon.net
Wed Jan 17 18:50:05 CET 2018


17/01/2018 18:24, Moti Haimovsky:
> This patch fixes the following compilation errors in bsdapp
> /home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:782:5:
> error: no previous prototype for function 'rte_vfio_clear_group'
> [-Werror,-Wmissing-prototypes]
> int rte_vfio_clear_group(int vfio_group_fd)
>     ^
> /home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:782:30:
> error: unused parameter 'vfio_group_fd' [-Werror,-Wunused-parameter]
> int rte_vfio_clear_group(int vfio_group_fd)
>                              ^
> Fixes: c564a2a20093 ("vfio: expose clear group function for internal usages")
> Cc: Hemant Agrawal <hemant.agrawal at nxp.com>
> 
> Signed-off-by: Moti Haimovsky <motih at mellanox.com>

Applied, thanks



More information about the dev mailing list