From nobody Mon Feb 9 00:56:30 2026 Received: from cmccmta1.chinamobile.com (cmccmta6.chinamobile.com [111.22.67.139]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E37DC49626 for ; Tue, 20 Aug 2024 03:26:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=111.22.67.139 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724124420; cv=none; b=ZdiC4tV8npIoWWiF/Lt1iQO0GLQo5DhIS6k6Qa764j2i8HLo82oLMVsLyl2YkE45Gcsyrj0SGKQiQSQ6He7l2O3liwSMkHmvYF/SIF5ph3UygrFguMZeWB2JHJXE8KXtK2dAFHXfqeIb963cGlnqkwggbkFVFybj5YBObHAGU4s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724124420; c=relaxed/simple; bh=lhSsYpNmbIkkmSCV1rETJVNHXvWLD+63NYOe4YSZCIs=; h=From:To:Cc:Subject:Date:Message-Id; b=h06lI9EVhyU/UwiDwMWr1Bk7MeRsg7hz1VJm9Y21YcCZucgtAYCSP+iJ74io8n9dUGG+aNQPuUFQpYbiRe72hziKayB1SEKcO3Rbm0D2+0Z6qLPgoB7n1eg7cIoe6HcoB8GCQYjjHSbizUwgQfuO9hZ0UxvNXaDFNPoz3DHtWhE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cmss.chinamobile.com; spf=pass smtp.mailfrom=cmss.chinamobile.com; arc=none smtp.client-ip=111.22.67.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cmss.chinamobile.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cmss.chinamobile.com X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from spf.mail.chinamobile.com (unknown[10.188.0.87]) by rmmx-syy-dmz-app01-12001 (RichMail) with SMTP id 2ee166c40cf5948-38244; Tue, 20 Aug 2024 11:26:46 +0800 (CST) X-RM-TRANSID: 2ee166c40cf5948-38244 X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from ubuntu.localdomain (unknown[223.108.79.99]) by rmsmtp-syy-appsvr07-12007 (RichMail) with SMTP id 2ee766c40cf52c6-ef436; Tue, 20 Aug 2024 11:26:46 +0800 (CST) X-RM-TRANSID: 2ee766c40cf52c6-ef436 From: Zhu Jun To: edumazet@google.com Cc: pabeni@redhat.com, hawk@kernel.org, davem@davemloft.net, zhujun2@cmss.chinamobile.com, linux-kernel@vger.kernel.org Subject: [PATCH] examples: Fix the wrong format specifier Date: Mon, 19 Aug 2024 20:26:44 -0700 Message-Id: <20240820032644.3240-1-zhujun2@cmss.chinamobile.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" The format specifier of "unsigned int" in printf() should be "%u", not "%d". Signed-off-by: Zhu Jun --- tools/net/ynl/samples/page-pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/net/ynl/samples/page-pool.c b/tools/net/ynl/samples/page= -pool.c index 332f281ee5cb..e5d521320fbf 100644 --- a/tools/net/ynl/samples/page-pool.c +++ b/tools/net/ynl/samples/page-pool.c @@ -118,7 +118,7 @@ int main(int argc, char **argv) name =3D if_indextoname(s->ifc, ifname); if (name) printf("%8s", name); - printf("[%d]\t", s->ifc); + printf("[%u]\t", s->ifc); } =20 printf("page pools: %u (zombies: %u)\n", --=20 2.17.1