From: Greg KH <greg@kroah.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [KJ] [PATCH 18/18] arch/ remove pci_find_{device, subsys}
Date: Mon, 14 Feb 2005 18:42:28 +0000 [thread overview]
Message-ID: <20050214184228.GI7815@kroah.com> (raw)
In-Reply-To: <200502141205.46515.amitg@calsoftinc.com>
[-- Attachment #1: Type: text/plain, Size: 884 bytes --]
On Mon, Feb 14, 2005 at 12:05:42PM +0530, Amit Gud wrote:
> Remove deprecated pci_find_device and pci_find_subsys
>
> Do consider applying.
>
> Signed-off-by: Amit Gud <gud@eth.net>
>
> diff -uprN orig/arch/alpha/kernel/sys_alcor.c linux-2.6.11-rc3/arch/alpha/kernel/sys_alcor.c
> --- orig/arch/alpha/kernel/sys_alcor.c 2005-01-20 20:06:07.000000000 +0530
> +++ linux-2.6.11-rc3/arch/alpha/kernel/sys_alcor.c 2005-02-14 00:02:35.000000000 +0530
> @@ -254,7 +254,7 @@ alcor_init_pci(void)
> * motherboard, by looking for a 21040 TULIP in slot 6, which is
> * built into XLT and BRET/MAVERICK, but not available on ALCOR.
> */
> - dev = pci_find_device(PCI_VENDOR_ID_DEC,
> + dev = pci_get_device(PCI_VENDOR_ID_DEC,
> PCI_DEVICE_ID_DEC_TULIP,
> NULL);
> if (dev && dev->devfn == PCI_DEVFN(6,0)) {
Nope, incorrect usage, please do not apply.
greg k-h
[-- Attachment #2: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
prev parent reply other threads:[~2005-02-14 18:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-14 6:47 [KJ] [PATCH 18/18] arch/ remove pci_find_{device, subsys} Amit Gud
2005-02-14 18:42 ` Greg KH [this message]
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=20050214184228.GI7815@kroah.com \
--to=greg@kroah.com \
--cc=kernel-janitors@vger.kernel.org \
/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.