]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/32: %pF is only for function pointers
authorScott Wood <scottwood@freescale.com>
Thu, 12 Mar 2015 03:13:46 +0000 (22:13 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 23 Mar 2015 04:14:48 +0000 (15:14 +1100)
commitebf9e777f53ba6287bb2f12e64bf88cd2a0b403a
tree22383f4ddc21a56b19d25531e6cd85acf56d3e93
parentdf0bc8e8ef59da27089a0c5a3189321253cb0174
powerpc/32: %pF is only for function pointers

Use %pS for actual addresses, otherwise you'll get bad output
on arches like ppc64 where %pF expects a function descriptor.  Even on
other architectures, refrain from setting a bad example that people
copy.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/pgtable_32.c