public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@steeleye.com>
To: Andrew Morton <akpm@osdl.org>
Cc: "Randy.Dunlap" <rddunlap@osdl.org>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] init. mca_bus_type even if !MCA_bus
Date: 17 May 2004 17:18:23 -0500	[thread overview]
Message-ID: <1084832306.2092.67.camel@mulgrave> (raw)
In-Reply-To: <20040517151412.1f7fb7d4.akpm@osdl.org>

On Mon, 2004-05-17 at 17:14, Andrew Morton wrote:
> Why is it appropriate to register the MCA bus type when there is no
> MCA bus present?

The legacy bus functions all have a bus_for_each_dev in them.  This
can't execute correctly unless the bus is registered.  So either a check
for MCA_bus has to be added to each of them, or we register the bus but
attach no devices, so the loop exits without doing anything.

James



  parent reply	other threads:[~2004-05-17 22:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-17 21:46 [PATCH] init. mca_bus_type even if !MCA_bus Randy.Dunlap
2004-05-17 22:14 ` Andrew Morton
2004-05-17 22:08   ` Randy.Dunlap
2004-05-17 22:52     ` Andrew Morton
2004-05-17 22:58       ` Greg KH
2004-05-17 23:02       ` James Bottomley
2004-05-17 22:18   ` James Bottomley [this message]
2004-05-17 22:56     ` Andrew Morton

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=1084832306.2092.67.camel@mulgrave \
    --to=james.bottomley@steeleye.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rddunlap@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox