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 03EEFA00C2; Fri, 14 Oct 2022 22:38:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3E02A42802; Fri, 14 Oct 2022 22:37:59 +0200 (CEST) Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by mails.dpdk.org (Postfix) with ESMTP id 5A1DF4281A for ; Fri, 14 Oct 2022 22:37:57 +0200 (CEST) Received: by mail-wr1-f41.google.com with SMTP id a3so9416037wrt.0 for ; Fri, 14 Oct 2022 13:37:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sWT+xqCWi37mddzwLVZuRoTlSgiKECwC+/E9yfw+shQ=; b=ApuLWZo05CJzqi+xjXh4YFeHTg6jQjZ1NJ5nPYPKR61YKFB+F/runr4Q4li5ncWgiu Qu/necFF3N1N9PgYP97epn4Y4fXsRupcZqOQ9UGe95wbYDS7qeq2jrdIGSPNTOSi4KnF OULLvxvWwbF8+dv6I/LbOjZI1B2kwfrEvZKzNbusK0fY3AGjn6CWL4nDtOZGE2gF0Lym FWnM5TjGiYE/DwKp7S91jy5UXBrBKwGBtJcXYWScADR79fWuXdLpWaCXiNAphsev81Hc PKmH+jaOGnpqmeoUgRn2UgEodvMieJ2iu/0vF0866Bmz+f+EaeicuTLcwD+uAIOCV0Ix EguA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sWT+xqCWi37mddzwLVZuRoTlSgiKECwC+/E9yfw+shQ=; b=bg0qggqBIsVoLQ+aQnA9bB957zLRIJw0pwIbSlW0c+STx8W/KHqrohHhtSKNu79+82 FVgF0z59G8zqrffPvoWVaWOLytEjs664LAa39Ya1ofqoFw2Z6fNggSyod2mshHCODM11 R4GeQTuUX5z/FtgzspHQ1GnD41ST8y4sogJu/NmhQIA1SZ0WMnVd6vrlkFQ4nZ9J/c7u 7ovEuk3K/Qq8lzRtLoZqaYBadcWHEqOtmWIsyfKJXRyUYWQV/soITqy7t5q122NZaP6n pPl4RJopwfrwAQGvmWv91IhLizCynfG/q2gl3waHJYJZpZSpOYB4RFUqICLLTXJi/mhU 9wDQ== X-Gm-Message-State: ACrzQf2u/DZg7OErR7ebqN8xC8sow0Z9hmVl/VaF3vq+L8tVJGSoxuH2 kEvVDfPXgUg6hhzw4Ad2H5R7tbfNorUStg== X-Google-Smtp-Source: AMsMyM6Qi1ztBBsug4MPm+1v5qVBz3D4xVZy/I7TBNjRBxKsPY1KtV6bguP656ixzrHS4UfChnigaQ== X-Received: by 2002:adf:fe0f:0:b0:22e:482b:b63a with SMTP id n15-20020adffe0f000000b0022e482bb63amr4392675wrr.586.1665779877133; Fri, 14 Oct 2022 13:37:57 -0700 (PDT) Received: from gojira.dev.6wind.com ([185.13.181.2]) by smtp.gmail.com with ESMTPSA id z12-20020adfe54c000000b0022afedf3c87sm2539653wrm.105.2022.10.14.13.37.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Oct 2022 13:37:56 -0700 (PDT) From: Olivier Matz To: dev@dpdk.org Cc: Harry van Haaren , Bruce Richardson , David Hunt , Anatoly Burakov , =?UTF-8?q?Morten=20Br=C3=B8rup?= , Andrew Rybchenko , stable@dpdk.org Subject: [PATCH 2/2] event/sw: fix invalid log in selftest Date: Fri, 14 Oct 2022 22:37:10 +0200 Message-Id: <20221014203710.6172-2-olivier.matz@6wind.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221014203710.6172-1-olivier.matz@6wind.com> References: <20221014203710.6172-1-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 The log should display the value, not the id. Fixes: e21df4b062b5 ("test/eventdev: add SW xstats tests") Cc: stable@dpdk.org Signed-off-by: Olivier Matz --- drivers/event/sw/sw_evdev_selftest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/event/sw/sw_evdev_selftest.c b/drivers/event/sw/sw_evdev_selftest.c index 4f18d66f36..834681dbec 100644 --- a/drivers/event/sw/sw_evdev_selftest.c +++ b/drivers/event/sw/sw_evdev_selftest.c @@ -1644,8 +1644,8 @@ xstats_id_reset_tests(struct test *t) } if (val != port_expected[i]) { printf("%d: %s value incorrect, expected %"PRIu64 - " got %d\n", __LINE__, port_names[i], - port_expected[i], id); + " got %"PRIu64"\n", __LINE__, port_names[i], + port_expected[i], val); failed = 1; } /* reset to zero */ -- 2.30.2