]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools: gpio: Fix several incorrect format specifiers
authorLuo Yifan <luoyifan@cmss.chinamobile.com>
Wed, 13 Nov 2024 02:14:58 +0000 (10:14 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 13 Nov 2024 15:30:05 +0000 (16:30 +0100)
commitb6621b1d4b1d0459ba6b49c0bc498c352ac115ab
tree555437dc4a8db0e33e525183e10ac87a87f1508e
parent65e936372d8f56f9faf3879925738cecc0a5f7e7
tools: gpio: Fix several incorrect format specifiers

Make a minor change to eliminate static checker warnings. The variable
lines[] is unsigned, so the correct format specifier should be %u
instead of %d.

Signed-off-by: Luo Yifan <luoyifan@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20241113021458.291252-1-luoyifan@cmss.chinamobile.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
tools/gpio/gpio-event-mon.c