]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: print quirk name in debug messages
authorbjorn.helgaas@hp.com <bjorn.helgaas@hp.com>
Mon, 17 Dec 2007 21:09:38 +0000 (14:09 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 23:04:26 +0000 (15:04 -0800)
commit1e8d6f31d307beb2529a6dec19000aacbbc288c9
treea8a4168f5c27c299429036c3f2cb169a094280bf
parent70fa57e8cf4591e9ab0da2da9644ef0f5f44416e
PCI: print quirk name in debug messages

Instead of printing this:

    PCI: Calling quirk c023b250 for 0000:00:00.0

we can print this:

    pci 0000:00:00.0: calling quirk 0xc023b270: quirk_cardbus_legacy+0x0/0x30()

The address is superfluous because sprint_symbol() includes the
address if the symbol lookup fails, but this is the same style used
in do_initcalls() and pnp_fixup_device().

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/quirks.c