Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Paul Mundt <lethal@linux-sh.org>

+1 -1
+1 -1
drivers/sh/pfc.c
··· 71 71 72 72 pos = dr->reg_width - (in_pos + 1); 73 73 74 - pr_debug("write_bit addr = %lx, value = %ld, pos = %ld, " 74 + pr_debug("write_bit addr = %lx, value = %d, pos = %ld, " 75 75 "r_width = %ld\n", 76 76 dr->reg, !!value, pos, dr->reg_width); 77 77