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 85C4C48A46 for ; Wed, 29 Oct 2025 14:48:32 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7E31A40288; Wed, 29 Oct 2025 14:48:32 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id A2E2040288 for ; Wed, 29 Oct 2025 14:48:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1761745710; 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=d5a/A1FXbtdueFalKvaIBVijaCIx/pE1c3DikQ7srwc=; b=NFALxJX/KRendoDoxuMTEEGfUrDnYCu9gkQPHp6MM1ZKudS3pr6ovbBF1BApiu+05QyJRT 0HpT06z5H8mwN8dDZqsb30yP5bwXuv/WFY+1hNTdn4w7KW2iLjxLOnJx3bJuZzDCVAa+Iu hh+toujs00XIj0gL4OWrz4DYoDA+++U= Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-553-ISamkWswMCyAV9lnKN8bPg-1; Wed, 29 Oct 2025 09:48:28 -0400 X-MC-Unique: ISamkWswMCyAV9lnKN8bPg-1 X-Mimecast-MFC-AGG-ID: ISamkWswMCyAV9lnKN8bPg_1761745707 Received: by mail-lf1-f69.google.com with SMTP id 2adb3069b0e04-592f4153f08so499466e87.0 for ; Wed, 29 Oct 2025 06:48:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761745707; x=1762350507; 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:message-id:reply-to; bh=d5a/A1FXbtdueFalKvaIBVijaCIx/pE1c3DikQ7srwc=; b=hsHUeBQQTqGjUedSnslLBkQdY1YUEDtYBEtnyqRjiVmIkTF9+CDeztf7p1f6CapKcb EO+tE3n+NmHNxCtDjyeafbDmvb6EDLiqXTGDCk7TBscm0vvi9uPrWqTmhUCZBLgH/CWJ S/6KKxmmUc4c7XeF84A1L+ydcnR0H23o0qXB28OMeogmJtO+qlKZTMaMyaRlsJf3Jb29 fGyY1UzhWYrxSuvY3Rk978QFCBuLOKInGpwTWza9b4Zcvlxgt8S8M4nYiqBstYa7dFAY oKLM61ogGt6sopnsTqSL92n0Jlxy/z8E5qYw660OlbpjnChucI5exutz/KfkbjN/8G5j eusw== X-Forwarded-Encrypted: i=1; AJvYcCUeXtehDwDUFyecft0qZ1UWMlhEvGy+UmAvruGe8csmeHRcEV0r6l6czqD23AKEyQgwcAZ2Tl4=@dpdk.org X-Gm-Message-State: AOJu0YxiRFNWxRHWOBMU7L128AK/H3iyoj0nOwGz04hcwx+Jb5cLN+65 t4nzfFkC1u6Zje6+J0sFJuk4tDp92gb3E9vZIWjsfuDtsEpwzIDi6OEAmWbUR4xFcnLkFxzUmi2 xEvuL4L7371MeY4unkN1iiVZEpjQffKDPS+DbshqNwcfaqyvNiw3gV434gxKqhq8Zcfpj76P/IK R350JRxVrqBLZWOe+MycyJP2St8wsfTgx16w== X-Gm-Gg: ASbGncvfMFNGUQGyf+Q+RhBFw83tgvs3AEIua9InHecujW6grjJSDBLfnIW5DtCoc9K BwweCh1kcL0tsvCzvmlKa9aXY3vwCnWhPkht+AOLvUDeqdWCq0Az4mweQkZXQnKQ5YqQhYiuRvQ e9y3+5nc2qthdSLe+raPyqz2URwq71xIcJnFKykpmgXxLq4pMo4vzVR62ZWg== X-Received: by 2002:a05:6512:3f13:b0:591:c898:e83d with SMTP id 2adb3069b0e04-59412cb41bdmr1122534e87.24.1761745705365; Wed, 29 Oct 2025 06:48:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEvHbr9LW7tBmBJdY+FgSOVIplt20kkfHbm5Btzbws0qx/zQUnZcW6hnPnC6ytITam2cy5KvQFvAySASnEi5l8= X-Received: by 2002:a05:6512:3f13:b0:591:c898:e83d with SMTP id 2adb3069b0e04-59412cb41bdmr1122498e87.24.1761745704482; Wed, 29 Oct 2025 06:48:24 -0700 (PDT) MIME-Version: 1.0 References: <20251027164621.175861-1-stephen@networkplumber.org> In-Reply-To: <20251027164621.175861-1-stephen@networkplumber.org> From: David Marchand Date: Wed, 29 Oct 2025 14:48:13 +0100 X-Gm-Features: AWmQ_bl5OqLGygL105pTYzNOJHXlEXgpa-QjPWgIpitiEe8rhxg3AU3ElpEjdl4 Message-ID: Subject: Re: [PATCH] dmadev: fix build if RTE_DMADEV_DEBUG enabled To: Stephen Hemminger Cc: dev@dpdk.org, stable@dpdk.org, Chengwen Feng , Kevin Laatz , Bruce Richardson X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: UoEnwXg0kA3ywht6FAuD6sZsA_waOFLrGezOtEKK2xY_1761745707 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Mon, 27 Oct 2025 at 17:46, Stephen Hemminger wrote: > > Missing definition of errnos causes build failure: > > In file included from ../lib/dmadev/rte_dmadev_trace.h:16, > from ../lib/dmadev/rte_dmadev_trace_points.c:8: > ../lib/dmadev/rte_dmadev.h: In function =E2=80=98rte_dma_copy=E2=80=99: > ../lib/dmadev/rte_dmadev.h:1183:25: error: =E2=80=98EINVAL=E2=80=99 undec= lared (first use in this function) > 1183 | return -EINVAL; > | ^~~~~~ > > Bugzilla ID: 1814 > Fixes: 8f1d23ece06a ("eal: deprecate RTE_FUNC_PTR_* macros") I am not following the rationale... 8f1d23ece06a removed a macro but use of errno was already there, so I am skeptical this is the right Fixes: tag. The issue was present from the start, so: Fixes: 91e581e5c924 ("dmadev: add data plane API") > Cc: david.marchand@redhat.com > > Signed-off-by: Stephen Hemminger --=20 David Marchand