提交 ca6f2d7f 编写于 作者: P Paul Mundt

sh: pfc: Fixup type mismatch in debug printks.

!!value works out to an int while we were still using %ld, so fix this up
and shut gcc up.
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 d2d69a3a
...@@ -71,7 +71,7 @@ static void gpio_write_bit(struct pinmux_data_reg *dr, ...@@ -71,7 +71,7 @@ static void gpio_write_bit(struct pinmux_data_reg *dr,
pos = dr->reg_width - (in_pos + 1); pos = dr->reg_width - (in_pos + 1);
pr_debug("write_bit addr = %lx, value = %ld, pos = %ld, " pr_debug("write_bit addr = %lx, value = %d, pos = %ld, "
"r_width = %ld\n", "r_width = %ld\n",
dr->reg, !!value, pos, dr->reg_width); dr->reg, !!value, pos, dr->reg_width);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册