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 8B303A034C for ; Fri, 25 Feb 2022 18:17:33 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 867BC410FD; Fri, 25 Feb 2022 18:17:33 +0100 (CET) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id 6297D41150 for ; Fri, 25 Feb 2022 18:17:31 +0100 (CET) Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id ACE3E3F1F3 for ; Fri, 25 Feb 2022 17:17:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1645809450; bh=JUIzEs49oVDFgXXCVsk8eYAJ1mtBTESwhAWdp4qQovQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=H9B700X/crOCrVtIkznh7vnoSs3m/CgwpSXmxZ+8qcj7EnXNlsLa1jSztkU3ygGdP 16FrxT4inFjB08opYzuLa2ULD+Wos2ML6AfwAArzhaE2KgP7v+jCP19GZWJAlpXm1S YWqpHc7D/z6io8qFk9RnVieI0ksI2OskR+RSMY2DUfe82CsOfzBAH9oScASoB1vVbf bhkfIHNrQG1pMS2Mg+3XOKS7/8g0jr0kGsPIp3+CyMnFzXkndxdP+nbdIxlLnvhC2u CmVecCGoEjKGLaIMGBBsWPSXIfWHis9jA+hVXidAAcamI2AgBGGFWV2EmPnowBAEg+ rhdjg8M4q98wQ== Received: by mail-wm1-f71.google.com with SMTP id w3-20020a7bc743000000b0037c5168b3c4so1833314wmk.7 for ; Fri, 25 Feb 2022 09:17:30 -0800 (PST) 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=JUIzEs49oVDFgXXCVsk8eYAJ1mtBTESwhAWdp4qQovQ=; b=xYRB+nzubLkOh5Dm8ie8adHq7EX4kzZEvbWSQdz0wYWFiGjJL1zcsUSN31ueqvx7OJ T3lJWNgxyCmlUxzuTAHmG4qW+IRM6dJYbX/32ZemAbHjrQME8mnj6B1orTirqMx3MGOd KdCHTH5xftLs+cbOFBs+frUt96/F0xQVhyGvfyiAA9PBSpQ7jltalV5H8Ofnou1JTeXU 9sl2MZgqMBvlNRyH6GwcDfrG06n17CkFHir99LBhDmMpvE5POWL7keJBD7aARYjgpcF+ DQg9lI61ixgNDyI40OzWYN2dW2uB7+8KiL1Ox3tRieOenOyewnFMMPkOqZ2ZxAMinYU1 jPVA== X-Gm-Message-State: AOAM530om6EOl+s9NcZJKDQSMPI8rbavUalyTT5eaWRZzz96voy2yeAm MNQz4WxaNLu040fLdDEAfq7khOAvRgD91Rnqjw24nYtW1vu1Osc2XFOYubVAdJ8Ct3ed93/cDJ4 iGS1EorvsCDfCM+n7YIwf1v5a X-Received: by 2002:adf:fc48:0:b0:1ef:7cb8:56bd with SMTP id e8-20020adffc48000000b001ef7cb856bdmr870265wrs.665.1645809448374; Fri, 25 Feb 2022 09:17:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJxdPuf9ObBoHLK1nH8MBisZaE7cJ4MjkyepXWbAN9HsWFcGxHoabGOMnjdO1Zr6/eKrU6nbeQ== X-Received: by 2002:adf:fc48:0:b0:1ef:7cb8:56bd with SMTP id e8-20020adffc48000000b001ef7cb856bdmr870252wrs.665.1645809448173; Fri, 25 Feb 2022 09:17:28 -0800 (PST) Received: from Keschdeichel.fritz.box (068-133-067-156.ip-addr.inexio.net. [156.67.133.68]) by smtp.gmail.com with ESMTPSA id o9-20020adfeac9000000b001e68d090023sm2895646wrn.68.2022.02.25.09.17.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Feb 2022 09:17:27 -0800 (PST) From: christian.ehrhardt@canonical.com To: Jie Zhou Cc: Dmitry Kozlyuk , dpdk stable Subject: patch 'test/mem: fix error check' has been queued to stable release 19.11.12 Date: Fri, 25 Feb 2022 18:15:27 +0100 Message-Id: <20220225171550.3499040-34-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.35.0 In-Reply-To: <20220225171550.3499040-1-christian.ehrhardt@canonical.com> References: <20220225171550.3499040-1-christian.ehrhardt@canonical.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 19.11.12 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/27/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/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/04e3a108e7f7043f15727173ffc72d157991866f Thanks. Christian Ehrhardt --- >From 04e3a108e7f7043f15727173ffc72d157991866f 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.35.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-02-25 16:58:45.569619611 +0100 +++ 0034-test-mem-fix-error-check.patch 2022-02-25 16:58:44.248990421 +0100 @@ -1 +1 @@ -From 068cdfae1fc19a491fc68723997ca89a92501736 Mon Sep 17 00:00:00 2001 +From 04e3a108e7f7043f15727173ffc72d157991866f Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 068cdfae1fc19a491fc68723997ca89a92501736 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org