projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddf0288
)
PCI: simplify quirk debug output
author
Bjorn Helgaas
<
[email protected]
>
Tue, 4 Mar 2008 23:22:07 +0000
(15:22 -0800)
committer
Greg Kroah-Hartman
<
[email protected]
>
Mon, 21 Apr 2008 04:47:06 +0000
(21:47 -0700)
print_fn_descriptor_symbol() prints the address if we don't have a symbol,
so no need to print both.
Signed-off-by: Bjorn Helgaas <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/pci/quirks.c
patch
|
blob
|
history
diff --git
a/drivers/pci/quirks.c
b/drivers/pci/quirks.c
index e887aa45c9cdd4ad41863f199f9f26f4551659a4..c4c769382e02ae990293eb06f963944a85fc00aa 100644
(file)
--- a/
drivers/pci/quirks.c
+++ b/
drivers/pci/quirks.c
@@
-1502,8
+1502,8
@@
static void pci_do_fixups(struct pci_dev *dev, struct pci_fixup *f, struct pci_f
if ((f->vendor == dev->vendor || f->vendor == (u16) PCI_ANY_ID) &&
(f->device == dev->device || f->device == (u16) PCI_ANY_ID)) {
#ifdef DEBUG
- dev_dbg(&dev->dev, "calling
quirk 0x%p", f->hook
);
- print_fn_descriptor_symbol("
:
%s()\n",
+ dev_dbg(&dev->dev, "calling
"
);
+ print_fn_descriptor_symbol("%s()\n",
(unsigned long) f->hook);
#endif
f->hook(dev);