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 46C60A0032 for ; Fri, 18 Feb 2022 13:43:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3FF8840395; Fri, 18 Feb 2022 13:43:36 +0100 (CET) Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by mails.dpdk.org (Postfix) with ESMTP id 1F76140141 for ; Fri, 18 Feb 2022 13:43:35 +0100 (CET) Received: by mail-wr1-f42.google.com with SMTP id p9so14352418wra.12 for ; Fri, 18 Feb 2022 04:43:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/2Ty7EQxGQyufdTTemkt6xBbMhL9NbqT4fEVoRLLzz8=; b=TfCH/diWPb4rME/GchYarL4cWJWLBziIpjcY7FhYMWSpu92UQGE3slTOFBDGLqUY/A AXkbfFTBlSqdiGvdAyq8vsFvgv3fDaUnYvcF3rBdFlNlk0tr7u37t37H/e/HcDon5a2o KDGO1vyQAHlJiBMT2egWHFDUWWOL/uofUXR3hQKf3YKsrJfcFD8kZJIK5nWWltOELPz6 esoUTY+FMvuIUlRcP5SIxJP9wfPNSyBs0fdr3Ptq1KfWq3/m+EcFZtjt5WbrZR1I7idh yFH3sW0hdmv2S83nRBW1Hazs9yxgdhIA2u3u55YMm+Vzr6Xnn2ges7j19hFyHhtql2ZT YZLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/2Ty7EQxGQyufdTTemkt6xBbMhL9NbqT4fEVoRLLzz8=; b=xSynr7JO/W1ESyOVGxncdgH4EkHtFvlgT9OwFEOeL7yathUwwIwnyF01dfpIOoHnxv 76MmnvIbOE9LLOqwEpz+QJyA9xQ/FW6TrcNygceXG03s5m7SXUKdvG8nCA9O5502oiJ7 5aXlSNazJhFtVBGISRLspRbVVXndbha0tl2qz4rplE0qrNuIPFFCXHsZqfhcmAaaxlEK c2Pn9ZdlKj4T4UEkGVkKJO0dUDsY8MNiWxiSVOhlz7VXMvM37C/NETZ3YOsLRiYo4y+m 2QxQqSiku1ttnX25v8CNkymI4rSOlbwJna8GwY8Jn0jbN8J/HHCuCaCGmLuDFHpL+Aza JQEA== X-Gm-Message-State: AOAM533iluexYJzgM7+R1+aRhI6Te2fk853nGYUvv8l5Eshj+YaV3cBs jTaWhcuMRG6BIGauOV6ODq4= X-Google-Smtp-Source: ABdhPJxwMjt8xjL60M2kD1zZhmRmjzKUCX0bAyHwa0Fb/8lzUKAr/qS6jsgDvBF6ZQdT9FSMM3GCPA== X-Received: by 2002:a05:6000:180c:b0:1e4:a20d:1ad7 with SMTP id m12-20020a056000180c00b001e4a20d1ad7mr6169360wrh.697.1645188214858; Fri, 18 Feb 2022 04:43:34 -0800 (PST) Received: from localhost ([2a01:4b00:f41a:3600:360b:9754:2e3a:c344]) by smtp.gmail.com with ESMTPSA id u14sm6236981wmq.41.2022.02.18.04.43.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Feb 2022 04:43:34 -0800 (PST) From: luca.boccassi@gmail.com To: Jie Zhou Cc: Dmitry Kozlyuk , dpdk stable Subject: patch 'test/mem: fix error check' has been queued to stable release 20.11.5 Date: Fri, 18 Feb 2022 12:38:46 +0000 Message-Id: <20220218123931.1749595-77-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220218123931.1749595-1-luca.boccassi@gmail.com> References: <20220218123931.1749595-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi, FYI, your patch has been queued to stable release 20.11.5 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/20/22. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/d3f8892862bc11c9207f23ac07b5b722c0a851bd Thanks. Luca Boccassi --- >From d3f8892862bc11c9207f23ac07b5b722c0a851bd Mon Sep 17 00:00:00 2001 From: Jie Zhou Date: Tue, 25 Jan 2022 21:10:36 -0800 Subject: [PATCH] test/mem: fix error check [ upstream commit 068cdfae1fc19a491fc68723997ca89a92501736 ] Fix incorrect errno variable used in memory autotest. Use rte_errno instead. Fixes: 086d426406bd ("test/mem: fix memory autotests on FreeBSD") Signed-off-by: Jie Zhou Acked-by: Dmitry Kozlyuk --- app/test/test_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_memory.c b/app/test/test_memory.c index dbf6871e71..140ac3f3cf 100644 --- a/app/test/test_memory.c +++ b/app/test/test_memory.c @@ -63,7 +63,7 @@ check_seg_fds(const struct rte_memseg_list *msl, const struct rte_memseg *ms, /* we're able to get memseg fd - try getting its offset */ ret = rte_memseg_get_fd_offset_thread_unsafe(ms, &offset); if (ret < 0) { - if (errno == ENOTSUP) + if (rte_errno == ENOTSUP) return 1; return -1; } -- 2.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-02-18 12:37:40.892004479 +0000 +++ 0077-test-mem-fix-error-check.patch 2022-02-18 12:37:37.754793350 +0000 @@ -1 +1 @@ -From 068cdfae1fc19a491fc68723997ca89a92501736 Mon Sep 17 00:00:00 2001 +From d3f8892862bc11c9207f23ac07b5b722c0a851bd Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 068cdfae1fc19a491fc68723997ca89a92501736 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org