OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1e7909
)
PCI: pcieport-driver: remove invalid warning message
author
Kenji Kaneshige
<kaneshige.kenji@jp.fujitsu.com>
Wed, 6 Dec 2006 13:07:30 +0000
(22:07 +0900)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 20 Dec 2006 18:54:42 +0000
(10:54 -0800)
The following warning message should not be displayed for devices
which don't use an interrupt pin.
pcie_portdrv_probe->Dev[XXXX:XXXX] has invalid IRQ. Check vendor BIOS
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pcie/portdrv_pci.c
patch
|
blob
|
history
diff --git
a/drivers/pci/pcie/portdrv_pci.c
b/drivers/pci/pcie/portdrv_pci.c
index
b4da795
..
f17e7ed
100644
(file)
--- a/
drivers/pci/pcie/portdrv_pci.c
+++ b/
drivers/pci/pcie/portdrv_pci.c
@@
-90,7
+90,7
@@
static int __devinit pcie_portdrv_probe (struct pci_dev *dev,
return -ENODEV;
pci_set_master(dev);
- if (!dev->irq) {
+ if (!dev->irq
&& dev->pin
) {
printk(KERN_WARNING
"%s->Dev[%04x:%04x] has invalid IRQ. Check vendor BIOS\n",
__FUNCTION__, dev->device, dev->vendor);