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 69D39A0524 for ; Fri, 5 Feb 2021 12:19:34 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6442D4067B; Fri, 5 Feb 2021 12:19:34 +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 D6D0D4067B for ; Fri, 5 Feb 2021 12:19:33 +0100 (CET) Received: by mail-wr1-f42.google.com with SMTP id z6so7222276wrq.10 for ; Fri, 05 Feb 2021 03:19:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZyfBsMTVVMVgA/jsQrq2ZyYHviIDByXxUC8noQUXyFs=; b=kpmkfjFUApq5hGosc6+Pz1moLQlM9KIhGspxXwRzv1NzNP2a4zOd7m+hPWZPp/Y0WB XUVMMlYwMKOmDbLkAYzgqoVvF9U6Rzb6eOHo+EAOcCJuGn2P6WznjtujUKAgZFvi7Dnc 5AXnXStdGhTiN4U6lO+5ehGkJMuGZjBX24JMjxu0D7yu1d7ZBEKiRAXazO/Yr3yccEFF 6ugUWY9GVRGpFXH0SFFww5cxu/0IGrkvFNZgl16ZnoQqCEmEGOy7WWeEbGnyTJeGaxjL vTsxVBarWTx7GZentL+RnAgYqH/EUZJG0n2jjaZUwPZwGWga3i9puO08RU32az+VmB4t 3Ojg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZyfBsMTVVMVgA/jsQrq2ZyYHviIDByXxUC8noQUXyFs=; b=ak+8Ii7yZRsV3hpyojc63Cr+Em1HHimuGQee1J/TiMjgSEfySX2/xquoTJ9iwl8GS2 oa/Bbb6qlRxyJTUvZ8tiS/n9wx0pwqCXDU1ONDZ3shbkqWFrl5p4+R7KgYl2FF3Szev4 A5+HNJmkga34z5AldBg34kDBrsmpzWcwTFiDJJCtxpl8vOG+bdVOjXpT9JT2MOlEzVTb JNMf5bImRLgwZcV3cKmGUmqUmLiCBTU8nmgAynaeFcgfadvssTb3oejQApQh7P/oMW/v RTumL3duoBOGEbEWFZ30AicrMyEUmmj/K3vtfjqQ/Qe8VjZ1yS+JHPg88r0wUam9ceeo V3yw== X-Gm-Message-State: AOAM532uOpgbJAOA8x9MtbZVwdQ0vAFmslgUPvK5sUd4/zPKyjPQ3rDW 7toL4IXZtQopJNCXL2kszQE= X-Google-Smtp-Source: ABdhPJysmRQ87d2GDKey/qEEUVdOLwlg5rWU7gbU6Tl5iFEQYuhREVqO0oILxVE+Yl4wtZC9AnNo7A== X-Received: by 2002:a5d:4646:: with SMTP id j6mr4542780wrs.38.1612523973687; Fri, 05 Feb 2021 03:19:33 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id f3sm9314718wme.26.2021.02.05.03.19.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 03:19:32 -0800 (PST) From: luca.boccassi@gmail.com To: Nick Connolly Cc: Dmitry Kozlyuk , Pallavi Kadam , dpdk stable Date: Fri, 5 Feb 2021 11:14:50 +0000 Message-Id: <20210205111920.1272063-4-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210205111920.1272063-1-luca.boccassi@gmail.com> References: <20210205111920.1272063-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'eal/windows: fix vfprintf warning with clang' has been queued to stable release 20.11.1 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.1 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/07/21. 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/6b2eccd104c1b3a8bba51bf10d40e203ef21baae Thanks. Luca Boccassi --- >From 6b2eccd104c1b3a8bba51bf10d40e203ef21baae Mon Sep 17 00:00:00 2001 From: Nick Connolly Date: Sun, 29 Nov 2020 13:00:47 +0000 Subject: [PATCH] eal/windows: fix vfprintf warning with clang [ upstream commit 498ec3c6da6da0a8c9e6ad7ddd087e10faa77eb0 ] When building with clang (11.0,--buildtype=debug), eal_lcore.c produces a -Wformat-nonliteral warning from the vfprintf call in log_early. Add __rte_format_printf annotation. Fixes: b8a36b086625 ("eal/windows: improve CPU and NUMA node detection") Suggested-by: Dmitry Kozlyuk Signed-off-by: Nick Connolly Acked-by: Dmitry Kozlyuk Acked-by: Pallavi Kadam --- lib/librte_eal/windows/eal_lcore.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/windows/eal_lcore.c b/lib/librte_eal/windows/eal_lcore.c index d5ff721e03..a85149be95 100644 --- a/lib/librte_eal/windows/eal_lcore.c +++ b/lib/librte_eal/windows/eal_lcore.c @@ -38,6 +38,7 @@ static struct cpu_map cpu_map = { 0 }; /* eal_create_cpu_map() is called before logging is initialized */ static void +__rte_format_printf(1, 2) log_early(const char *format, ...) { va_list va; -- 2.29.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-02-05 11:18:29.529448698 +0000 +++ 0004-eal-windows-fix-vfprintf-warning-with-clang.patch 2021-02-05 11:18:28.582686848 +0000 @@ -1 +1 @@ -From 498ec3c6da6da0a8c9e6ad7ddd087e10faa77eb0 Mon Sep 17 00:00:00 2001 +From 6b2eccd104c1b3a8bba51bf10d40e203ef21baae Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 498ec3c6da6da0a8c9e6ad7ddd087e10faa77eb0 ] + @@ -13 +14,0 @@ -Cc: stable@dpdk.org