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 E979EA0C41 for ; Tue, 30 Nov 2021 17:38:57 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E386341190; Tue, 30 Nov 2021 17:38:57 +0100 (CET) Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by mails.dpdk.org (Postfix) with ESMTP id AD804410F7 for ; Tue, 30 Nov 2021 17:38:56 +0100 (CET) Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (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-0.canonical.com (Postfix) with ESMTPS id 89F303F1ED for ; Tue, 30 Nov 2021 16:38:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1638290336; bh=AH+23imWEpIuzpQw37zqRz3OipjsjtkfatxEOJQ157M=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=hSoufGF6C/jZEJRCEZ2+Qf46knw6pPiHY0v+m7MCDl0xvEYqCAGwCrQoGTrDwjDNH qw9/pbGbe5bkIFCnmvNfRo9uukTPB7Q2BRH2TBd55n8a1I06c3SlBpPraT7dqptzID a35Xi5uK4Lx+o5jkeElNp8pk2C1r+cwofxVfTJMNGxSL3P1vktb9LeZMVUzQUi/y0c K/M5jbIojaxV7dcI7aGkzkOoGAaVK7bZnSXcSuCASlpLos+6srLhOFTnT0FHsrl6ZY 2nWyhzOQVsmyv/xydFOl3V9BRgUFjAlvAXF1PmcXPPVpLm0MHJO0RL8Sk1ZFVaMeWr 08FDRMG2Llycw== Received: by mail-ed1-f72.google.com with SMTP id c1-20020aa7c741000000b003e7bf1da4bcso17379388eds.21 for ; Tue, 30 Nov 2021 08:38:56 -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=AH+23imWEpIuzpQw37zqRz3OipjsjtkfatxEOJQ157M=; b=eGZnpIEDc0lq1FquD854MQPDkjSxavljhWqIfY+9KRWcJTb6vfrqdbsoeaF+6FL62h gSAyFBgVd6cQoB/2SHsAXyQV128uUw3jbA6pQnAo8ZoemrJv9uZYI7Mp6+/ZJFCdbx/s hu3ceGzI5WGB4i2dXl8LRJj90r9JC5q5pMVi9ZaOZ2pFW7SmKTN7LA3QryAyU02r9nUn JW8PtrO7doVuxdreoi4GUOgpVIw9o13S41kNxE5g6fbHieMh3ad+0leVToXxi2FWEUtc KWmXIV3qzbszm+g3adtFn/jZJSopapE5AuYMKEoNoxJpcoI5+P/QDIaBvl34P9VZ1I5m 3ImQ== X-Gm-Message-State: AOAM532KVCzOKUl94vO1hB9b/3yqcee/4GdAotyy7istSBfrex4lvC7P K0HyXXwfb6+EVaNBdn/dVZsb9eFredQIuM5gkfEgph9HzOtTCOjjQysg+9jZVC409UtnYGzXXCm qjxjMfCpVTU5qSVbQo/FGT1Z2 X-Received: by 2002:a50:9e0f:: with SMTP id z15mr90527ede.278.1638290335080; Tue, 30 Nov 2021 08:38:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJydeCJXU8vZoturdOK4qSzymrvahgAvpxD6B2E2K+oD/EixWgvAYWoQFjA4NwU0Jtg3IN4d4g== X-Received: by 2002:a50:9e0f:: with SMTP id z15mr90510ede.278.1638290334898; Tue, 30 Nov 2021 08:38:54 -0800 (PST) Received: from localhost.localdomain ([2001:67c:1560:8007::aac:c4ad]) by smtp.gmail.com with ESMTPSA id he17sm9307168ejc.110.2021.11.30.08.38.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 08:38:54 -0800 (PST) From: christian.ehrhardt@canonical.com To: David Marchand Cc: Reshma Pattan , dpdk stable Subject: patch 'test/latency: fix loop boundary' has been queued to stable release 19.11.11 Date: Tue, 30 Nov 2021 17:34:19 +0100 Message-Id: <20211130163605.2460997-55-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211130163605.2460997-1-christian.ehrhardt@canonical.com> References: <20211130163605.2460997-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.11 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before December 10th 2021. 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/1132c3fa61435174b5eaa5ddd49e9f3fc2312fd9 Thanks. Christian Ehrhardt --- >From 1132c3fa61435174b5eaa5ddd49e9f3fc2312fd9 Mon Sep 17 00:00:00 2001 From: David Marchand Date: Sat, 2 Oct 2021 18:24:31 +0200 Subject: [PATCH] test/latency: fix loop boundary [ upstream commit cb3dd14c77f4a44c204b7ac10898ecc33afeb9a0 ] Caught running ASAN. lat_stats_strings[] is an array containing NUM_STATS strings. Fixes: 1e3676a06e4c ("test/latency: add unit tests for latencystats library") Signed-off-by: David Marchand Acked-by: Reshma Pattan --- app/test/test_latencystats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_latencystats.c b/app/test/test_latencystats.c index 968e0bc470..fcc9e83558 100644 --- a/app/test/test_latencystats.c +++ b/app/test/test_latencystats.c @@ -77,7 +77,7 @@ static int test_latencystats_get_names(void) /* Success Test: Valid names and size */ size = NUM_STATS; ret = rte_latencystats_get_names(names, size); - for (i = 0; i <= NUM_STATS; i++) { + for (i = 0; i < NUM_STATS; i++) { if (strcmp(lat_stats_strings[i].name, names[i].name) == 0) printf(" %s\n", names[i].name); else -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-30 16:50:09.239620831 +0100 +++ 0055-test-latency-fix-loop-boundary.patch 2021-11-30 16:50:05.706872913 +0100 @@ -1 +1 @@ -From cb3dd14c77f4a44c204b7ac10898ecc33afeb9a0 Mon Sep 17 00:00:00 2001 +From 1132c3fa61435174b5eaa5ddd49e9f3fc2312fd9 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit cb3dd14c77f4a44c204b7ac10898ecc33afeb9a0 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 427339904d..724acbc315 100644 +index 968e0bc470..fcc9e83558 100644 @@ -23 +24 @@ -@@ -80,7 +80,7 @@ static int test_latencystats_get_names(void) +@@ -77,7 +77,7 @@ static int test_latencystats_get_names(void)