* [PATCH] pinctrl: stm32: fix incorrect pinctl format message
@ 2016-05-17 16:26 Colin King
0 siblings, 0 replies; only message in thread
From: Colin King @ 2016-05-17 16:26 UTC (permalink / raw)
To: Linus Walleij, Maxime Coquelin, Patrice Chotard, Irina Tirdea,
Laxman Dewangan, linux-gpio, linux-arm-kernel
Cc: linux-kernel
From: Colin Ian King <colin.king@canonical.com>
There are missing string format specifiers in the seq_printf
that are causing a build warning. Add these missing string
format specifiers to fix this.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
drivers/pinctrl/stm32/pinctrl-stm32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c
index e51c1cf..ae9fab8 100644
--- a/drivers/pinctrl/stm32/pinctrl-stm32.c
+++ b/drivers/pinctrl/stm32/pinctrl-stm32.c
@@ -794,7 +794,7 @@ static void stm32_pconf_dbg_show(struct pinctrl_dev *pctldev,
case 2:
drive = stm32_pconf_get_driving(bank, offset);
speed = stm32_pconf_get_speed(bank, offset);
- seq_printf(s, "%d - %s -%s", alt,
+ seq_printf(s, "%d - %s - %s - %s %s", alt,
drive ? "open drain" : "push pull",
biasing[bias],
speeds[speed], "speed");
--
2.8.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-05-17 16:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-17 16:26 [PATCH] pinctrl: stm32: fix incorrect pinctl format message Colin King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).