parisc: %pf is only for function pointers
authorScott Wood <scottwood@freescale.com>
Thu, 12 Mar 2015 21:46:00 +0000 (16:46 -0500)
committerHelge Deller <deller@gmx.de>
Fri, 24 Apr 2015 11:45:54 +0000 (13:45 +0200)
commita4e4f67f41d9bfcc2a00849a75712f09a7d43798
treed60de2e18f28af66c910e79a561e56c96d778248
parent27cf3a16b2535a490f8cf1d29a6634f1c70f7831
parisc: %pf is only for function pointers

Use %ps for actual addresses, otherwise you'll get bad output
on arches like parisc64 where %pf expects a function descriptor.

This wasn't normally seen on parisc64 because the code is not built
unless DEBUG_SUPERIO_INIT is manually defined.

Patch modified by Helge Deller to utilize KERN_DEBUG.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: linux-parisc@vger.kernel.org
cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/parisc/superio.c