[PATCH 14/22] parisc: %pF is only for function pointers

From: Scott Wood
Date: Wed Mar 11 2015 - 23:32:48 EST

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

Signed-off-by: Scott Wood <scottwood@xxxxxxxxxxxxx>
Cc: linux-parisc@xxxxxxxxxxxxxxx
drivers/parisc/superio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/parisc/superio.c b/drivers/parisc/superio.c
index 8be2096..38c5440 100644
--- a/drivers/parisc/superio.c
+++ b/drivers/parisc/superio.c
@@ -348,7 +348,7 @@ int superio_fixup_irq(struct pci_dev *pcidev)
return -1;
- printk("superio_fixup_irq(%s) ven 0x%x dev 0x%x from %pf\n",
+ printk("superio_fixup_irq(%s) ven 0x%x dev 0x%x from %ps\n",
pcidev->vendor, pcidev->device,

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/