kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: Jim Cromie <jim.cromie@gmail.com>
To: jbaron@akamai.com
Cc: Jim Cromie <jim.cromie@gmail.com>, kernelnewbies@kernelnewbies.org
Subject: [PATCH 1/8] dyndbg: give %3u width in pr-format, cosmetic only
Date: Wed,  5 Aug 2020 12:30:16 -0600	[thread overview]
Message-ID: <20200805183023.586590-2-jim.cromie@gmail.com> (raw)
In-Reply-To: <20200805183023.586590-1-jim.cromie@gmail.com>

Specify the print-width so log entries line up nicely.

no functional changes.

Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
---
 lib/dynamic_debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c
index 1d012e597cc3..01b7d0210412 100644
--- a/lib/dynamic_debug.c
+++ b/lib/dynamic_debug.c
@@ -947,7 +947,7 @@ int ddebug_add_module(struct _ddebug *tab, unsigned int n,
 	list_add(&dt->link, &ddebug_tables);
 	mutex_unlock(&ddebug_lock);
 
-	v2pr_info("%u debug prints in module %s\n", n, dt->mod_name);
+	v2pr_info("%3u debug prints in module %s\n", n, dt->mod_name);
 	return 0;
 }
 
-- 
2.26.2


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

  reply	other threads:[~2020-08-05 18:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-05 18:30 [PATCH 0/8] dyndbg: WIP diet plan Jim Cromie
2020-08-05 18:30 ` Jim Cromie [this message]
2020-08-05 18:30 ` [PATCH 2/8] dyndbg: motivate a " Jim Cromie
2020-08-05 18:30 ` [PATCH 3/8] dyndbg: select ZPOOL in Kconfig.debug Jim Cromie
2020-08-05 18:30 ` [PATCH 4/8] dyndbg: split struct _ddebug in 2, creating _ddebug_callsite Jim Cromie
2020-08-05 18:30 ` [PATCH 5/8] dyndbg: WIP replace __dyndbg_callsite section with a zs-pool copy Jim Cromie
2020-08-05 18:30 ` [PATCH 6/8] dyndbg: ddebug_zpool_remove Jim Cromie
2020-08-05 18:30 ` [PATCH 7/8] dyndbg: enable 'cache' of active pr_debug callsites Jim Cromie
2020-08-05 18:30 ` [PATCH 8/8] dyndbg: add locking around zpool-add loop in zpool-init Jim Cromie
2020-08-05 22:15 ` [PATCH 0/8] dyndbg: WIP diet plan jim.cromie
2020-08-06 10:39 ` Greg KH
2020-08-06 17:56   ` jim.cromie

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=20200805183023.586590-2-jim.cromie@gmail.com \
    --to=jim.cromie@gmail.com \
    --cc=jbaron@akamai.com \
    --cc=kernelnewbies@kernelnewbies.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;
as well as URLs for NNTP newsgroup(s).