]> www.infradead.org Git - users/willy/pagecache.git/commit
ynl: samples: Fix the wrong format specifier
authorLuo Yifan <luoyifan@cmss.chinamobile.com>
Wed, 13 Nov 2024 01:11:42 +0000 (09:11 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 14 Nov 2024 02:48:15 +0000 (18:48 -0800)
commita8c300ccd2e7441f7209e5ee58918091fedb241f
treeb426fa70b1aec8a5490eda8d968baaca9d24a890
parentf6fa7da1d1edcfc8b952aa0453abe73346aa7dd1
ynl: samples: Fix the wrong format specifier

Make a minor change to eliminate a static checker warning. The type
of s->ifc is unsigned int, so the correct format specifier should be
%u instead of %d.

Signed-off-by: Luo Yifan <luoyifan@cmss.chinamobile.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241113011142.290474-1-luoyifan@cmss.chinamobile.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/samples/page-pool.c