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 0A6F0A0544; Fri, 23 Sep 2022 10:42:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A01EE400D7; Fri, 23 Sep 2022 10:42:11 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 1B9674003C for ; Fri, 23 Sep 2022 10:42:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1663922529; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PpmjZRBzoXzxBscRPjbBp8Fp89qDWwlYTsf0Y0DEtHI=; b=EKk3S83XLYwtxeEsF83cWJ3N6QCCqf+2s9sceTEGpX0H2joZWeVXUm8P0RwU0tg0my/dr8 ZmqiJGaFugNHnBp/qT51PSVTWFbi0+fJmRPCJP8+O3H9Y2ZuRosbDLZh93cd+2Qr0mul99 HwG78QmYEjUASNMcVVIRUYLdvYXqAXg= Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-92-pBOtpC8RPZWSEng86hDbaw-1; Fri, 23 Sep 2022 04:42:08 -0400 X-MC-Unique: pBOtpC8RPZWSEng86hDbaw-1 Received: by mail-lj1-f198.google.com with SMTP id bx10-20020a05651c198a00b0026c1cdb5b4cso3693119ljb.2 for ; Fri, 23 Sep 2022 01:42:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=PpmjZRBzoXzxBscRPjbBp8Fp89qDWwlYTsf0Y0DEtHI=; b=NkAEcz5vsOTkNNY4VanTkXPgje+uY513y89JEJ1R94hpSLefJsxFPZZRcISsup+Jel gBnK4HZ7JmRdjMwc6YdrDFuQhONhRhPB8tNptTpFwnWHEbWBYJjXoxKJ+Pvk03TKWpfK yCmjQ9dI5Qgt18fnpuWQ+k40BsBBwDUveoCJwAC8bQGSlpde7KZduS2iQFrBNdCCdMZM bDfYqkOUgSyroklNGVvv7pesVH+s3BSEohMw+6+DFyluHEEE+7NdRttdFqwNOlAu6uba +QFunZ4LgtrzjjSWlmayzo+s+1+7wYoPnVSPZ9KkQxvZwAEAtcRie5WzidrNbWSOiYzC ZIng== X-Gm-Message-State: ACrzQf2b2eS9yY1/liou6LQ+SKl3W0LFXwdKUTdYQ8C87hKZ/o9x1dKn YTWnjmHU6jVoEvXF205LhX8nmSv3Px8G7F1/+Ry56rUVefTe/PYa65nWeq2rQ7hP3dBeOg4mIWT xTOjs6vQbgvdPZ6CKNV8= X-Received: by 2002:a05:6512:3d1a:b0:499:c00f:d95f with SMTP id d26-20020a0565123d1a00b00499c00fd95fmr2803856lfv.575.1663922526990; Fri, 23 Sep 2022 01:42:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM52bIqmWjrgB3tuOvqVi2J1u3z2FZNdRhSlHiskGrhfRhxMxEUprcMIZOVYiH1G5/zM+hLn3USLx3iu2DyQJcQ= X-Received: by 2002:a05:6512:3d1a:b0:499:c00f:d95f with SMTP id d26-20020a0565123d1a00b00499c00fd95fmr2803846lfv.575.1663922526800; Fri, 23 Sep 2022 01:42:06 -0700 (PDT) MIME-Version: 1.0 References: <20220923082554.3832169-1-thomas@monjalon.net> In-Reply-To: From: David Marchand Date: Fri, 23 Sep 2022 10:41:55 +0200 Message-ID: Subject: Re: [PATCH] gpu/cuda: fix build To: Thomas Monjalon Cc: dev@dpdk.org, Elena Agostini , Bruce Richardson , Dmitry Kozlyuk X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Fri, Sep 23, 2022 at 10:29 AM David Marchand wrote: > > On Fri, Sep 23, 2022 at 10:26 AM Thomas Monjalon wr= ote: > > > > 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, > > was* > > > but was forgotten in gpu/cuda. > > > > As a result, the compilation is broken: > > drivers/gpu/cuda/gdrcopy.c:116:17: error: =E2=80=98ENOTSUP=E2= =80=99 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 heade= r") > > > > Signed-off-by: Thomas Monjalon > Tested-by: David Marchand Applied, thanks. --=20 David Marchand