public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: CaT <cat@zip.com.au>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.5.66
Date: Mon, 24 Mar 2003 20:34:54 -0800	[thread overview]
Message-ID: <20030325043454.GJ11874@kroah.com> (raw)
In-Reply-To: <20030325041802.GA535@zip.com.au>

On Tue, Mar 25, 2003 at 03:18:03PM +1100, CaT wrote:
> On Mon, Mar 24, 2003 at 04:30:48PM -0800, Greg KH wrote:
> > Yes, I sent out some patches a few evenings ago to lkml that should fix
> > this problem.  I'm resyncing them with 2.5.66 right now and will send
> > them to Linus in a bit.
> 
> I have an oops of my very own to report, and this one is with the afore
> mentioned patches applied:
> 
> mice: PS/2 mouse device common for all mice
> logimb.c: Didn't find Logitech busmouse at 0x23c
> input: PC Speaker
> input: PS/2 Synaptics Touchpad on isa0060/serio1
> serio: i8042 AUX port at 0x60,0x64 irq 12
> input: AT Set 2 keyboard on isa0060/serio0
> serio: i8042 KBD port at 0x60,0x64 irq 1
> i2c-dev.o: i2c /dev entries driver module version 2.7.0 (20021208)
> i2c-proc.o version 2.7.0 (20021208)
> i2c-pixx4 version 2.7.0 (20021208)
> piix4 smbus 00.07.3: Found Intel Corp. 82371AB/EM/MB PIIX4  device
> Unable to handle kernel NULL pointer dereference at vertual address 00000000

Do you have the patches I just sent out a few hours ago?
You will need the last one, I've attached it here.  Let me know if it
fixes this or not.

thanks,

greg k-h


ChangeSet 1.985.1.4, 2003/03/24 15:16:12-08:00, greg@kroah.com

[PATCH] i2c: set up a "generic" i2c driver to prevent oopses when devices are registering.

This is needed as we are still not using the driver core model for
matching up devices to drivers, but doing it by hand.  Once that is
changed, this will not be needed.


 drivers/i2c/i2c-core.c |    9 +++++++++
 1 files changed, 9 insertions(+)


diff -Nru a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c
--- a/drivers/i2c/i2c-core.c	Mon Mar 24 17:26:51 2003
+++ b/drivers/i2c/i2c-core.c	Mon Mar 24 17:26:51 2003
@@ -65,6 +65,14 @@
 	return 0;
 }
 
+static struct device_driver i2c_generic_driver = {
+	.name =	"i2c",
+	.bus = &i2c_bus_type,
+	.probe = i2c_device_probe,
+	.remove = i2c_device_remove,
+};
+
+
 /* ---------------------------------------------------
  * registering functions 
  * --------------------------------------------------- 
@@ -106,6 +114,7 @@
 	if (adap->dev.parent == NULL)
 		adap->dev.parent = &legacy_bus;
 	sprintf(adap->dev.bus_id, "i2c-%d", i);
+	adap->dev.driver = &i2c_generic_driver;
 	device_register(&adap->dev);
 
 	/* inform drivers of new adapters */

  reply	other threads:[~2003-03-25  4:24 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-24 23:26 Linux 2.5.66 Linus Torvalds
2003-03-24 23:35 ` Larry McVoy
2003-03-25  0:14 ` Florin Iucha
2003-03-25  8:05   ` Rolf Eike Beer
2003-03-25  8:29     ` Marco Roeland
2003-03-25  0:16 ` Jeremy Brown
2003-03-25  0:22 ` Udo A. Steinberg
2003-03-25  0:30   ` Greg KH
2003-03-25  1:18     ` Udo A. Steinberg
2003-03-25  1:47       ` Greg KH
2003-03-25  4:18     ` CaT
2003-03-25  4:34       ` Greg KH [this message]
2003-03-25  5:56         ` CaT
2003-03-25  6:51           ` Greg KH
2003-03-25  7:22             ` CaT
2003-03-25  7:27               ` Greg KH
2003-03-25  0:53 ` John Cherry
2003-03-25  1:55 ` [REPRODUCABLE BUGS] " Toplica Tanaskovic
2003-03-25  3:19   ` James Simmons
2003-03-25  9:51     ` Toplica Tanaskovic
2003-03-26 20:24       ` James Simmons
2003-03-26 23:49         ` Torrey Hoffman
2003-03-27  0:20           ` James Simmons
2003-03-27  2:27             ` Joshua Kwan
2003-04-02 22:16               ` James Simmons
2003-04-03  1:02                 ` Joshua Kwan
2003-04-03  3:59                   ` James Simmons
2003-03-27 16:05         ` Toplica Tanaskovic
2003-03-26  2:53 ` Paweł Gołaszewski
2003-03-26  3:33   ` James Simmons
2003-03-26 11:00 ` [2.5 patch] fix sound/oss/mad16.c compile Adrian Bunk
2003-03-26 11:26 ` 2.5.66: compile problem with snd-ice1724 Adrian Bunk
2003-03-26 12:45 ` [2.5 patch] fix ipmi_devintf.c compilation Adrian Bunk
2003-03-26 14:36   ` Corey Minyard
  -- strict thread matches above, loose matches on Subject: below --
2003-03-25  5:51 Linux 2.5.66 Andries.Brouwer
2003-03-26 10:45 ` Geert Uytterhoeven
2003-03-26 10:46   ` Geert Uytterhoeven
2003-03-25  7:40 Osamu Tomita
2003-03-26 11:52 Andries.Brouwer

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=20030325043454.GJ11874@kroah.com \
    --to=greg@kroah.com \
    --cc=cat@zip.com.au \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox