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 B7694A00C2 for ; Fri, 14 Oct 2022 22:38:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2EEAA42829; Fri, 14 Oct 2022 22:38:00 +0200 (CEST) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by mails.dpdk.org (Postfix) with ESMTP id 67DA4427F2 for ; Fri, 14 Oct 2022 22:37:57 +0200 (CEST) Received: by mail-wr1-f46.google.com with SMTP id b4so9369630wrs.1 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=gsIQ/IJFrOmFVmTSjYz+7VbumxCK4Y3A3ADP5ap7hkMU52MxixkF+e0Mw+EHYWOnKA 5RVl5MGP0n8g6AIt6gppVRzwoHZ0/lPeTPVh2sNvkJBnnNhYb0CgvExxGeQMnGctc/nu 6/XBs9UvsR+FeP7lAQYt6/gmGZ7zCIeZlCSSBSksepft/vvvyiAphQ72snw5a5CYnxol 5e1B48sTeN3koykoQUDig/WT8OflFn/s40/XD83nAP6zAD4qPhjcuZQ3VTO9x+n/yQM8 Z3g2Dbxdr9akQuehX4x5nJ/g9HtLt05fAu7+uLH9LU0Y3rRWfiUSTZn/J9rLTW/jURMY 69KQ== X-Gm-Message-State: ACrzQf2tPJV8gY2OKo9h0zP5RCR27dGRHJfN0eofvpJW5NfjYh+SOrYf t9peSI8av43xqf0VATEVC4fuiw== 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: 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 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