mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
PCI: pcieport-driver: remove invalid warning message
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>
This commit is contained in:
parent
f1e79092d9
commit
83e42bcdd3
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ static int __devinit pcie_portdrv_probe (struct pci_dev *dev,
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
||||||
pci_set_master(dev);
|
pci_set_master(dev);
|
||||||
if (!dev->irq) {
|
if (!dev->irq && dev->pin) {
|
||||||
printk(KERN_WARNING
|
printk(KERN_WARNING
|
||||||
"%s->Dev[%04x:%04x] has invalid IRQ. Check vendor BIOS\n",
|
"%s->Dev[%04x:%04x] has invalid IRQ. Check vendor BIOS\n",
|
||||||
__FUNCTION__, dev->device, dev->vendor);
|
__FUNCTION__, dev->device, dev->vendor);
|
||||||
|
|
Loading…
Add table
Reference in a new issue