From: Wolfram Sang <w.sang@pengutronix•de>
To: linuxppc-dev@ozlabs•org
Subject: [PATCH] mpc5121/clocks: make debug output more readable
Date: Fri, 8 May 2009 14:34:13 +0200 [thread overview]
Message-ID: <20090508123413.GC3100@pengutronix.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 1355 bytes --]
- Drop KERN_ levels for printks which print to the same line
- use '=' in output to connect key/value pairs
Signed-off-by: Wolfram Sang <w.sang@pengutronix•de>
Cc: John Rigby <jcrigby@gmail•com>
Cc: Grant Likely <grant.likely@secretlab•ca>
---
arch/powerpc/platforms/512x/clock.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
Index: .kernel/arch/powerpc/platforms/512x/clock.c
===================================================================
--- .kernel.orig/arch/powerpc/platforms/512x/clock.c
+++ .kernel/arch/powerpc/platforms/512x/clock.c
@@ -83,12 +83,11 @@ static void dump_clocks(void)
mutex_lock(&clocks_mutex);
printk(KERN_INFO "CLOCKS:\n");
list_for_each_entry(p, &clocks, node) {
- printk(KERN_INFO " %s %ld", p->name, p->rate);
+ printk(KERN_INFO " %s=%ld", p->name, p->rate);
if (p->parent)
- printk(KERN_INFO " %s %ld", p->parent->name,
- p->parent->rate);
+ printk(" %s=%ld", p->parent->name, p->parent->rate);
if (p->flags & CLK_HAS_CTRL)
- printk(KERN_INFO " reg/bit %d/%d", p->reg, p->bit);
+ printk(" reg/bit=%d/%d", p->reg, p->bit);
printk("\n");
}
mutex_unlock(&clocks_mutex);
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next reply other threads:[~2009-05-08 12:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-08 12:34 Wolfram Sang [this message]
2009-05-08 14:17 ` [PATCH] mpc5121/clocks: make debug output more readable Geert Uytterhoeven
2009-05-08 15:40 ` Grant Likely
2009-05-15 14:40 ` [PATCH V2] " Wolfram Sang
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=20090508123413.GC3100@pengutronix.de \
--to=w.sang@pengutronix$(echo .)de \
--cc=linuxppc-dev@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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