[PATCH 24.11 1/3] [PATCH 24.11] vhost: fix compile error when without vduse.h

Kevin Traynor ktraynor at redhat.com
Tue Nov 25 11:30:55 CET 2025


On 25/11/2025 01:51, Chengwen Feng wrote:
> Fix compile error when don't set VHOST_HAS_VDUSE.
> 
> Fixes: 0ea4b51e84ce ("vhost: fix external buffer in VDUSE")
> 
> Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
> ---
>  lib/vhost/vduse.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/vhost/vduse.h b/lib/vhost/vduse.h
> index 353f297d5a..e923aeac56 100644
> --- a/lib/vhost/vduse.h
> +++ b/lib/vhost/vduse.h
> @@ -17,7 +17,7 @@ int vduse_device_destroy(const char *path);
>  #else
>  
>  static inline int
> -vduse_device_create(const char *path, bool compliant_ol_flags, bool extbuf, bool linearbuf);
> +vduse_device_create(const char *path, bool compliant_ol_flags, bool extbuf, bool linearbuf)
>  {
>  	RTE_SET_USED(compliant_ol_flags);
>  	RTE_SET_USED(extbuf);

Ah, thanks for finding this. This was a mistake in rebasing for 24.11
that was not caught as the VHOST_HAS_VDUSE is set.

The commit referenced is not pushed yet, so I will fix it directly there
before push, rather than introducing the issue and then fixing it.

Thanks again for catching it,
Kevin.



More information about the stable mailing list