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

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>

authored by

Scott Wood and committed by
Helge Deller
a4e4f67f 27cf3a16

+1 -1
+1 -1
drivers/parisc/superio.c
··· 348 348 BUG(); 349 349 return -1; 350 350 } 351 - printk("superio_fixup_irq(%s) ven 0x%x dev 0x%x from %pf\n", 351 + printk(KERN_DEBUG "superio_fixup_irq(%s) ven 0x%x dev 0x%x from %ps\n", 352 352 pci_name(pcidev), 353 353 pcidev->vendor, pcidev->device, 354 354 __builtin_return_address(0));