pinctrl: st: st_pinconf_dbg_show wrong format string
function is defined as unsigned int. So we need %u to print it. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Acked-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Родитель
f7cf78b953
Коммит
fdcf83552a
|
@ -1006,7 +1006,7 @@ static void st_pinconf_dbg_show(struct pinctrl_dev *pctldev,
|
|||
|
||||
function = st_pctl_get_pin_function(pc, offset);
|
||||
if (function)
|
||||
snprintf(f, 10, "Alt Fn %d", function);
|
||||
snprintf(f, 10, "Alt Fn %u", function);
|
||||
else
|
||||
snprintf(f, 5, "GPIO");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче