From: Greg KH <greg@kroah.com>
To: Gerd Knorr <kraxel@bytesex.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: bttv oops
Date: Tue, 3 Feb 2004 17:01:59 -0800 [thread overview]
Message-ID: <20040204010159.GA23386@kroah.com> (raw)
In-Reply-To: <87u129eb5p.fsf@bytesex.org>
On Mon, Feb 02, 2004 at 04:47:14PM +0100, Gerd Knorr wrote:
> Stephen Clark <stephen.clark@earthlink.net> writes:
>
> > Gentle people,
> >
> > I am having the following problem. Also if I compile bttv into the
> > kernel I get a panic in the driver at boot.
> >
> > Any ideas?
>
> disable CONFIG_I2C_*_DEBUG, the debug printk() dereference pointers
> unchecked.
Here's the patch that has been reported to fix this oops. I've added it
to my i2c bk tree.
thanks,
greg k-h
# I2C: fix oops when CONFIG_I2C_DEBUG_CORE is enabled and the bttv driver is loaded.
diff -Nru a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c
--- a/drivers/i2c/i2c-core.c Tue Feb 3 17:00:46 2004
+++ b/drivers/i2c/i2c-core.c Tue Feb 3 17:00:46 2004
@@ -598,7 +598,7 @@
ret = adap->algo->master_xfer(adap,&msg,1);
up(&adap->bus_lock);
- dev_dbg(&client->dev, "master_recv: return:%d (count:%d, addr:0x%02x)\n",
+ dev_dbg(&client->adapter->dev, "master_recv: return:%d (count:%d, addr:0x%02x)\n",
ret, count, client->addr);
/* if everything went ok (i.e. 1 msg transmitted), return #bytes
prev parent reply other threads:[~2004-02-04 1:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-02 15:15 bttv oops Stephen Clark
2004-02-02 15:47 ` Gerd Knorr
2004-02-02 19:20 ` Greg KH
2004-02-04 1:01 ` 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=20040204010159.GA23386@kroah.com \
--to=greg@kroah.com \
--cc=kraxel@bytesex.org \
--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