From: Jean Delvare <khali@linux-fr.org>
To: Greg KH <greg@kroah.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.6] Another oops in i2c-core with debug
Date: Sun, 22 Feb 2004 13:26:11 +0100 [thread overview]
Message-ID: <20040222132611.57e9faa7.khali@linux-fr.org> (raw)
Hi Greg,
Some times ago, you fixed an oops in i2c-core when debugging is enabled:
http://marc.theaimsgroup.com/?l=linux-kernel&m=107585749612115&w=2
Looks like you missed that second one:
--- linux-2.6.3/drivers/i2c/i2c-core.c 2004-02-18 20:18:14.000000000 +0100
+++ linux-2.6.3-i2c/drivers/i2c/i2c-core.c 2004-02-22 13:04:11.000000000 +0100
@@ -618,7 +618,7 @@
int ret = 0;
struct i2c_adapter *adap = client->adapter;
- dev_dbg(&client->dev, "i2c ioctl, cmd: 0x%x, arg: %#lx\n", cmd, arg);
+ dev_dbg(&client->adapter->dev, "i2c ioctl, cmd: 0x%x, arg: %#lx\n", cmd, arg);
switch (cmd) {
case I2C_RETRIES:
adap->retries = arg;
Reported by Emil Svensson on IRC. Sensors-detect would trigger the oops
(through i2c-dev), I could reproduce it easily. Works OK after applying
the patch above.
Please apply,
Thanks.
--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
next reply other threads:[~2004-02-22 12:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-22 12:26 Jean Delvare [this message]
2004-02-24 0:27 ` [PATCH 2.6] Another oops in i2c-core with debug Greg KH
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=20040222132611.57e9faa7.khali@linux-fr.org \
--to=khali@linux-fr.org \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sensors@stimpy.netroedge.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox