All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nils Faerber <nils.faerber@kernelconcepts.de>
To: Jiri Slaby <jirislaby@gmail.com>
Cc: Greg KH <gregkh@suse.de>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-pci@atrey.karlin.mff.cuni.cz, nils@kernelconcepts.de
Subject: Re: [PATCH 10/10] drivers/char: pci_find_device remove (drivers/char/watchdog/i8xx_tco.c)
Date: Sat, 10 Sep 2005 22:44:59 +0200	[thread overview]
Message-ID: <432345CB.4010402@kernelconcepts.de> (raw)
In-Reply-To: <43233ED6.2080101@gmail.com>

Thanks, looks fine to me so I added my signed-off.

Jiri Slaby wrote:
> Cc: nils@kernelconcepts.de [maintainer]
> 
> Jiri Slaby napsal(a):
> 
>> Signed-off-by: Jiri Slaby <xslaby@fi.muni.cz>

Signed-off-by: Nils Faerber <nils@kernelconcepts.de>

>> i8xx_tco.c |    5 +++--
>> 1 files changed, 3 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/char/watchdog/i8xx_tco.c
>> b/drivers/char/watchdog/i8xx_tco.c
>> --- a/drivers/char/watchdog/i8xx_tco.c
>> +++ b/drivers/char/watchdog/i8xx_tco.c
>> @@ -414,12 +414,11 @@ static unsigned char __init i8xx_tco_get
>>      *      Find the PCI device
>>      */
>>
>> -    while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) !=
>> NULL) {
>> +    for_each_pci_dev(dev)
>>         if (pci_match_id(i8xx_tco_pci_tbl, dev)) {
>>             i8xx_tco_pci = dev;
>>             break;
>>         }
>> -    }
>>
>>     if (i8xx_tco_pci) {
>>         /*
>> @@ -535,6 +534,8 @@ static void __exit watchdog_cleanup (voi
>>     misc_deregister (&i8xx_tco_miscdev);
>>     unregister_reboot_notifier(&i8xx_tco_notifier);
>>     release_region (TCOBASE, 0x10);
>> +
>> +    pci_dev_put(i8xx_tco_pci);
>> }
>>
>> module_init(watchdog_init);
>>  
>>
> 

Cheers
  nils faerber

-- 
kernel concepts          Tel: +49-271-771091-12
Dreisbachstr. 24         Fax: +49-271-771091-19
D-57250 Netphen          Mob: +49-176-21024535
--

  reply	other threads:[~2005-09-10 20:46 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-10 12:19 [PATCH 0/10] drivers/char: pci_find_device remove Jiri Slaby
2005-09-10 12:21 ` [PATCH 1/10] drivers/char: pci_find_device remove (drivers/char/ip2main.c) Jiri Slaby
2005-09-10 20:17   ` Jiri Slaby
2005-09-11 22:54     ` Jiri Slaby
2005-10-06 22:16       ` Jiri Slaby
2005-10-12 16:47         ` Jiri Slaby
2005-10-12 17:06           ` [PATCH 2.6.14-rc4] Maintainers one entry removed Jiri Slaby
2005-10-12 18:14             ` Michael Krufky
2005-10-12 18:56             ` Alan Cox
     [not found]               ` <4af2d03a0510121137h2c89ee1fw35109a41351a8b2e@mail.gmail.com>
2005-10-12 19:14                 ` Michael H. Warfield
2005-10-12 20:09                   ` Jiri Slaby
2005-10-12 20:46                     ` David S. Miller
2005-10-12 19:52                 ` Michael H. Warfield
2005-09-10 20:57   ` [PATCH 1/10] drivers/char: pci_find_device remove (drivers/char/ip2main.c) Jeff Garzik
2005-09-10 12:21 ` [PATCH 5/10] drivers/char: pci_find_device remove (drivers/char/specialix.c) Jiri Slaby
2005-09-10 20:19   ` Jiri Slaby
2005-10-06 22:20     ` Jiri Slaby
2005-09-10 20:56   ` Jeff Garzik
2005-09-10 21:00     ` Jiri Slaby
2005-09-10 21:17       ` Greg KH
2005-09-10 21:35         ` Jiri Slaby
2005-09-10 21:41           ` Jeff Garzik
2005-09-10 22:39             ` [PATCH] (i)stallion remove Jiri Slaby
2005-09-11  0:03               ` Alan Cox
2005-09-10 23:39                 ` Matthew Wilcox
2005-09-11  0:10                   ` Alan Cox
2005-09-12  1:39               ` Peter Chubb
2005-09-12  9:22                 ` Jiri Slaby
2005-09-12  9:31                 ` Christoph Hellwig
2005-09-10 21:38         ` [PATCH 5/10] drivers/char: pci_find_device remove (drivers/char/specialix.c) Jiri Slaby
2005-09-10 12:21 ` [PATCH 6/10] drivers/char: pci_find_device remove (drivers/char/stallion.c) Jiri Slaby
2005-09-10 20:56   ` Jeff Garzik
2005-09-10 12:21 ` [PATCH 9/10] drivers/char: pci_find_device remove (drivers/char/watchdog/alim7101_wdt.c) Jiri Slaby
2005-09-10 12:21 ` [PATCH 3/10] drivers/char: pci_find_device remove (drivers/char/mxser.c) Jiri Slaby
2005-09-10 12:21 ` [PATCH 8/10] drivers/char: pci_find_device remove (drivers/char/watchdog/alim1535_wdt.c) Jiri Slaby
2005-09-10 12:21 ` [PATCH 4/10] drivers/char: pci_find_device remove (drivers/char/rocket.c) Jiri Slaby
2005-09-10 20:56   ` Jeff Garzik
2005-09-10 12:21 ` [PATCH 7/10] drivers/char: pci_find_device remove (drivers/char/sx.c) Jiri Slaby
2005-09-10 12:21 ` [PATCH 2/10] drivers/char: pci_find_device remove (drivers/char/istallion.c) Jiri Slaby
2005-09-10 12:21 ` [PATCH 10/10] drivers/char: pci_find_device remove (drivers/char/watchdog/i8xx_tco.c) Jiri Slaby
2005-09-10 20:15   ` Jiri Slaby
2005-09-10 20:44     ` Nils Faerber [this message]
2005-09-10 20:58   ` Jeff Garzik
2005-09-10 22:00     ` Matthieu CASTET

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=432345CB.4010402@kernelconcepts.de \
    --to=nils.faerber@kernelconcepts.de \
    --cc=gregkh@suse.de \
    --cc=jirislaby@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@atrey.karlin.mff.cuni.cz \
    --cc=nils@kernelconcepts.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.