From: Luca Tettamanti <kronos.it@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: len.brown@intel.com, linux-acpi@vger.kernel.org, akpm@osdl.org
Subject: [PATCH] Add missing '\n' to printk in ACPI code
Date: Sat, 8 Jul 2006 21:24:31 +0200 [thread overview]
Message-ID: <20060708192431.GA23511@dreamland.darkstar.lan> (raw)
Hi,
I found out that a printk() in ACPI code is missing the newline; the
next kernel message is then appended on the same line (and priority is
not stripped), eg:
Device `[FAN0]' is not power manageable<6>ACPI: Fan [FAN0] (on)
This trivial patch (against 2.6.18-rc1) fixes it.
Signed-Off-By: Luca Tettamanti <kronos.it@gmail.com>
--- a/drivers/acpi/bus.c 2006-07-08 15:12:32.855837715 +0200
+++ b/drivers/acpi/bus.c 2006-07-08 15:12:46.848712215 +0200
@@ -192,7 +192,7 @@
/* Make sure this is a valid target state */
if (!device->flags.power_manageable) {
- printk(KERN_DEBUG "Device `[%s]' is not power manageable",
+ printk(KERN_DEBUG "Device `[%s]' is not power manageable\n",
device->kobj.name);
return -ENODEV;
}
Luca
--
Home: http://kronoz.cjb.net
Il piu` bel momento dell'amore e` quando ci si illude che duri per
sempre; il piu` brutto, quando ci si accorge che dura da troppo.
reply other threads:[~2006-07-08 19:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20060708192431.GA23511@dreamland.darkstar.lan \
--to=kronos.it@gmail.com \
--cc=akpm@osdl.org \
--cc=len.brown@intel.com \
--cc=linux-acpi@vger.kernel.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
all inboxes | Powered by JetHome®