On Wed, 2018-05-23 at 11:48:36 UTC, Michael Ellerman wrote: > In dump_one_paca() the DUMP macro unconditionally prepends '#' to the > printf format specifier. In most cases we're using either 'x' or 'lx' > etc. and that is OK. But for 'p' and other formats using '#' is > actually undefined, and once we enable printf() checking for > xmon_printf() we will get warnings from the compiler. > > So just have each usage specify the full format, that way we can omit > '#' when it's inappropriate. > > Signed-off-by: Michael Ellerman <m...@ellerman.id.au> > Reviewed-by: Mathieu Malaterre <ma...@debian.org>
Applied to powerpc next. https://git.kernel.org/powerpc/c/6671683db8540e5766f44a1089549c cheers