[patch] watchdog: fix warning "defined but not used"
From: Guillaume Thouvenin (guillaume.thouvenin_at_bull.net)
Date: 07/30/04
- Previous message: Robert Olsson: "Re: ksoftirqd uses 99% CPU triggered by network traffic (maybe RLT-8139 related)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Jul 2004 11:33:00 +0200 To: linux-kernel@vger.kernel.org
Hello,
Function wdtpci_init_one() in file wdt_pci.c generates a warning when
compiling the watchdog driver. Here is a trivial patch for 2.6.8-rc2 to
remove this warning.
HTH
Guillaume
--- wdt_pci.c.orig 2004-07-30 09:00:13.435106288 +0200
+++ wdt_pci.c 2004-07-30 09:00:31.465365272 +0200
@@ -682,8 +682,8 @@ out:
out_misc:
#ifdef CONFIG_WDT_501_PCI
misc_deregister(&temp_miscdev);
-#endif /* CONFIG_WDT_501_PCI */
out_rbt:
+#endif /* CONFIG_WDT_501_PCI */
unregister_reboot_notifier(&wdtpci_notifier);
out_irq:
free_irq(irq, &wdtpci_miscdev);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Robert Olsson: "Re: ksoftirqd uses 99% CPU triggered by network traffic (maybe RLT-8139 related)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: netgear nic
... > 0xf4000000-0xf40000ff irq ... > HTH, ... To unsubscribe,
... (freebsd-questions) - Re: Error doing make buildworld (english trans)
... (TIA,) ... HTH, ... To unsubscribe, ... (freebsd-questions) - Re: choosing an email client
... I chose it because I was looking for a MUA that won't consume much ... To unsubscribe,
... (freebsd-questions) - Re: 8139cp 0000:03:08.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
... That might see that your 8139too driver gets loaded first. ... Incidentally
comment any references to 8139cp that you run across. ... HTH ... To UNSUBSCRIBE,
email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ... (Debian-User) - RE: How to search for files
... HTH. ... Regards, Marshall ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
... (RedHat)