All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Hutchings <ben@decadent.org.uk>
To: David Airlie <airlied@linux.ie>
Cc: linux-pci@vger.kernel.org, dri-devel@lists.sourceforge.net,
	zhenyuw@linux.intel.com, Greg Kroah-Hartman <gregkh@suse.de>
Subject: Re: [PATCH] agpgart: Reprobe VGA devices when a new GART device is added
Date: Sun, 28 Feb 2010 13:53:32 +0000	[thread overview]
Message-ID: <1267365212.2282.9.camel@localhost> (raw)
In-Reply-To: <1267327851.2282.8.camel@localhost>

[-- Attachment #1: Type: text/plain, Size: 525 bytes --]

On Sun, 2010-02-28 at 03:30 +0000, Ben Hutchings wrote:
> +static void agp_probe_video(struct work_struct *work)
> +{
> +	struct pci_dev *pdev = NULL;
> +
> +	while ((pdev = pci_get_class(0x030000, pdev)) != NULL) {

Only without the opening brace here...

Ben.

> +		if (!pdev->dev.driver && device_reprobe(&pdev->dev))
> +			pr_err(PFX "failed to reprobe %s\n", pci_name(pdev));
> +}

-- 
Ben Hutchings
Horngren's Observation:
                   Among economists, the real world is often a special case.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

  reply	other threads:[~2010-02-28 13:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-28  3:30 [PATCH] agpgart: Reprobe VGA devices when a new GART device is added Ben Hutchings
2010-02-28 13:53 ` Ben Hutchings [this message]
2010-03-01  8:33 ` Dave Airlie
2010-03-01 16:19   ` Eric Anholt
2010-03-01 17:40     ` Ben Hutchings

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=1267365212.2282.9.camel@localhost \
    --to=ben@decadent.org.uk \
    --cc=airlied@linux.ie \
    --cc=dri-devel@lists.sourceforge.net \
    --cc=gregkh@suse.de \
    --cc=linux-pci@vger.kernel.org \
    --cc=zhenyuw@linux.intel.com \
    /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.