All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rusty Lynch <rusty@linux.co.intel.com>
To: Scott Murray <scottm@somanetworks.com>
Cc: lkml <linux-kernel@vger.kernel.org>, Greg KH <greg@kroah.com>
Subject: CPCI stopped building
Date: 24 Feb 2003 12:21:44 -0800	[thread overview]
Message-ID: <1046118108.2099.2.camel@vmhack> (raw)

Attempting to turn on cpci support on the latest kernel breaks the build.
The problem is that pci_is_dev_in_use() has been removed, but 
cpci_hotplug_pci.c still calls the non-existant function in 
unconfigure_visit_pci_dev_phase1().

It looks like pci_dev_driver(dev) can be used in replacement (since that is
what driver/pci/hotplug.c is now doing in pci_remove_device_safe(), but 
I haven't taken the time to really understand what is happening.

    --rustyl

Here is the changeset comment:

ChangeSet 1.1002.8.3 2003/02/21 13:44:13 hch@sgi.com
  [PATCH] try_module_get(THIS_MODULE) is bogus
  
  In most cases the fix is to add an struct module * member to the operations
  vector instead and manipulate the refcounts in the callers context.
  
  For the ALSA cases it was completly superflous (when will people get it that
  using an exported symbol will make it's module unloadable?..)
drivers/pci/hotplug.c 1.11 2003/02/21 11:43:17 hch@sgi.com
  try_module_get(THIS_MODULE) is bogus








             reply	other threads:[~2003-02-24 20:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-24 20:21 Rusty Lynch [this message]
2003-02-24 20:44 ` CPCI stopped building Greg KH
2003-02-24 21:48   ` Scott Murray

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=1046118108.2099.2.camel@vmhack \
    --to=rusty@linux.co.intel.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=scottm@somanetworks.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.