Skip to content

Commit f112bf8

Browse files
committed
Pull watchdog fix from Wim Van Sebroeck: "Make sure that the hpwdt driver will not load auxilary iLO devices" * git://www.linux-watchdog.org/linux-watchdog: watchdog: hpwdt: Patch to ignore auxilary iLO devices
2 parents 0ff18e3 + 0821f20 commit f112bf8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/watchdog/hpwdt.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,12 @@ static int hpwdt_init_one(struct pci_dev *dev,
802802
return -ENODEV;
803803
}
804804

805+
/*
806+
* Ignore all auxilary iLO devices with the following PCI ID
807+
*/
808+
if (dev->subsystem_device == 0x1979)
809+
return -ENODEV;
810+
805811
if (pci_enable_device(dev)) {
806812
dev_warn(&dev->dev,
807813
"Not possible to enable PCI Device: 0x%x:0x%x.\n",

0 commit comments

Comments
 (0)