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 04183A0544; Fri, 23 Sep 2022 10:26:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EC4CA42847; Fri, 23 Sep 2022 10:26:09 +0200 (CEST) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by mails.dpdk.org (Postfix) with ESMTP id EAA874282F for ; Fri, 23 Sep 2022 10:26:08 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id A8FED3200945; Fri, 23 Sep 2022 04:26:06 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 23 Sep 2022 04:26:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm2; t=1663921566; x=1664007966; bh=RVB3gCb+KN p2bQ9QyLApHtQT1OlsNE92x5YN9VWfCXA=; b=M9QgAhTKI+BE/un+hsXPi2qg0f WjYb8WystqBLgLIb7wzPC4ACAnDqNzrQIDfOhslf+S0IVOK/2nBRegwpGMKebWIu WbtBCyRPKmUTewU9eyLOk+w7tEW05SZ8k/5OvWGMchxQxm199pw1NlY7VKy8UUEc u8CnyaXwvc9q+gn7Rodvq6TIarj4clHk9lJxG4pRpxk0DJbnAkVt2pmq0lOVhfL2 BHkYFSyqKEtQTVkqE16/+rPCBQcKezHX3HYi5Gj+uZsNPy8eTipEPvOA/60AWher iu58mSqA2MkXNAe1DDnW0yVkhrVa0m3KEU2nqcG9ku1gdNdE2XNoi9DKt0gg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1663921566; x=1664007966; bh=RVB3gCb+KNp2b Q9QyLApHtQT1OlsNE92x5YN9VWfCXA=; b=DFC+crNAK+4qg9R+pkiEExfXn/9+G qJa0Wt88vNfQx+3Php/C0DnCg5/WZwEMXPACnMIT4naUk0+Kgt2ZjNAWs0dac+xE DeDAEBbYMLY8RDkBubgcvFS+3fbBXZJpgFeEXcchiP2OTvW0wMq2QnXGbhI4ZkQU 403Q7xkNhN9R4N4T5u+Ky5wgsWRlRlpdCvNkupAnlzfQlUT4OWZ0+L44B5CXbooq oDEfR46SkJrHdfwlkayuKFf6lUmmR9kyO2a1QudM6WzCCTbICALuXrJrTMJCfbOE /Ti2CcIv0EE0k3qKDHovEOXMdiQvfmAzILZXyjd5aiv2WSJ2docSe2HvQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeefiedgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofggtgfgsehtkeertdertdejnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhephfduueeffedvjeevhfekgeehleevjedvffdufeekudelfeehkeel heeiheffiedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 23 Sep 2022 04:26:05 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: Elena Agostini , Bruce Richardson , Dmitry Kozlyuk Subject: [PATCH] gpu/cuda: fix build Date: Fri, 23 Sep 2022 10:25:53 +0200 Message-Id: <20220923082554.3832169-1-thomas@monjalon.net> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org A recent commit removed errno.h from rte_common.h. It has to be added in various places where it is used, and wad implicitly included via rte_common.h, but was forgotten in gpu/cuda. As a result, the compilation is broken: drivers/gpu/cuda/gdrcopy.c:116:17: error: ‘ENOTSUP’ undeclared Note that rte_errno.h does not include errno.h. The include of errno.h is added. Fixes: 72b452c5f259 ("eal: remove unneeded includes from a public header") Signed-off-by: Thomas Monjalon --- drivers/gpu/cuda/common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/cuda/common.h b/drivers/gpu/cuda/common.h index 5144694d60..e809988503 100644 --- a/drivers/gpu/cuda/common.h +++ b/drivers/gpu/cuda/common.h @@ -6,6 +6,7 @@ #define CUDA_COMMON_H #include +#include #include #include -- 2.36.1