From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 18AA148BA1 for ; Tue, 25 Nov 2025 02:51:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F08BC406B8; Tue, 25 Nov 2025 02:51:39 +0100 (CET) Received: from canpmsgout12.his.huawei.com (canpmsgout12.his.huawei.com [113.46.200.227]) by mails.dpdk.org (Postfix) with ESMTP id 4EF24406B8 for ; Tue, 25 Nov 2025 02:51:39 +0100 (CET) dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=2aDbimLZv1ee9o6cMaPU4kIe8hEfPMSSIOMneY4vHwM=; b=NhTlaMQMCXxhWS8nosfi60k65aS8Cn1l7evgfVA26NYvDp7ZOGJNkuN3UQg6LialWy29wD79o 3kd7xCY8iZNeAjtAXJKKydnE8k+M3TOmgQnazRigVr3jeYKTlUtp5FJ7tyFDGpjSIJ7DNEzSA1F O+dM9/tklVHsId6UnfBk5PI= Received: from mail.maildlp.com (unknown [172.19.162.112]) by canpmsgout12.his.huawei.com (SkyGuard) with ESMTPS id 4dFlxw5f3KznTWf; Tue, 25 Nov 2025 09:50:12 +0800 (CST) Received: from kwepemk500009.china.huawei.com (unknown [7.202.194.94]) by mail.maildlp.com (Postfix) with ESMTPS id 2178E1402CF; Tue, 25 Nov 2025 09:51:37 +0800 (CST) Received: from localhost.localdomain (10.50.163.32) by kwepemk500009.china.huawei.com (7.202.194.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Tue, 25 Nov 2025 09:51:36 +0800 From: Chengwen Feng To: , CC: Subject: [PATCH 24.11 1/3] [PATCH 24.11] vhost: fix compile error when without vduse.h Date: Tue, 25 Nov 2025 09:51:28 +0800 Message-ID: <20251125015130.12867-2-fengchengwen@huawei.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20251125015130.12867-1-fengchengwen@huawei.com> References: <20251125015130.12867-1-fengchengwen@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.50.163.32] X-ClientProxiedBy: kwepems100001.china.huawei.com (7.221.188.238) To kwepemk500009.china.huawei.com (7.202.194.94) X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Fix compile error when don't set VHOST_HAS_VDUSE. Fixes: 0ea4b51e84ce ("vhost: fix external buffer in VDUSE") Signed-off-by: Chengwen Feng --- 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); -- 2.17.1