From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org, sensors@stimpy.netroedge.com
Subject: Re: [PATCH] I2C fixes for 2.6.10-rc1
Date: Fri, 12 Nov 2004 15:26:45 -0800 [thread overview]
Message-ID: <11003020051927@kroah.com> (raw)
In-Reply-To: <11003020053782@kroah.com>
ChangeSet 1.2095, 2004/11/12 13:20:15-08:00, khali@linux-fr.org
[PATCH] I2C: Missing newlines in debug messages
As discussed on IRC, this simple patch fixes broken debug messages
missing their trailing newlines. I just applied something similar to
CVS, and will prepare patches for 2.4 as well.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/i2c/i2c-core.c | 2 +-
drivers/i2c/i2c-dev.c | 2 +-
drivers/i2c/i2c-sensor-detect.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff -Nru a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c
--- a/drivers/i2c/i2c-core.c 2004-11-12 15:22:38 -08:00
+++ b/drivers/i2c/i2c-core.c 2004-11-12 15:22:38 -08:00
@@ -760,7 +760,7 @@
if (addr == address_data->normal_i2c[i]) {
found = 1;
dev_dbg(&adapter->dev, "found normal i2c entry for adapter %d, "
- "addr %02x", adap_id,addr);
+ "addr %02x\n", adap_id, addr);
}
}
diff -Nru a/drivers/i2c/i2c-dev.c b/drivers/i2c/i2c-dev.c
--- a/drivers/i2c/i2c-dev.c 2004-11-12 15:22:38 -08:00
+++ b/drivers/i2c/i2c-dev.c 2004-11-12 15:22:38 -08:00
@@ -539,7 +539,7 @@
out_unreg_chrdev:
unregister_chrdev(I2C_MAJOR, "i2c");
out:
- printk(KERN_ERR "%s: Driver Initialisation failed", __FILE__);
+ printk(KERN_ERR "%s: Driver Initialisation failed\n", __FILE__);
return res;
}
diff -Nru a/drivers/i2c/i2c-sensor-detect.c b/drivers/i2c/i2c-sensor-detect.c
--- a/drivers/i2c/i2c-sensor-detect.c 2004-11-12 15:22:38 -08:00
+++ b/drivers/i2c/i2c-sensor-detect.c 2004-11-12 15:22:38 -08:00
@@ -115,7 +115,7 @@
for (i = 0; !found && (normal_i2c[i] != I2C_CLIENT_END); i += 1) {
if (addr == normal_i2c[i]) {
found = 1;
- dev_dbg(&adapter->dev, "found normal i2c entry for adapter %d, addr %02x", adapter_id, addr);
+ dev_dbg(&adapter->dev, "found normal i2c entry for adapter %d, addr %02x\n", adapter_id, addr);
}
}
}
next prev parent reply other threads:[~2004-11-12 23:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-12 23:26 [BK PATCH] " Greg KH
2004-11-12 23:26 ` [PATCH] " Greg KH
2004-11-12 23:26 ` Greg KH
2004-11-12 23:26 ` Greg KH [this message]
2004-11-12 23:26 ` 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=11003020051927@kroah.com \
--to=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
Powered by JetHome