All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans Reiser <reiser@namesys.com>
To: Jeff Mahoney <jeffm@suse.com>
Cc: ReiserFS List <reiserfs-list@namesys.com>
Subject: Re: [PATCH 1/5] reiserfs: use more consistent printk formatting
Date: Mon, 18 Jul 2005 18:00:13 -0700	[thread overview]
Message-ID: <42DC509D.4070205@namesys.com> (raw)
In-Reply-To: <42DC4C68.8030603@suse.com>

Jeff Mahoney wrote:

> Hans Reiser wrote:
>
> >Jeff Mahoney wrote:
>
> >>The output format between a warning/error/panic/info/etc changes with
> >>which one is used.
> >>
> >>The following patch makes the messages more internally consistent,
> but also
> >>more consistent with other Linux filesystems.
> >>
> >>Signed-off-by: Jeff Mahoney <jeffm@suse.com>
> >>diff -ruNpX dontdiff linux-2.6.13-rc3/fs/reiserfs/prints.c
> linux-2.6.13-rc3.errors/fs/reiserfs/prints.c
> >>--- linux-2.6.13-rc3/fs/reiserfs/prints.c    2005-07-13
> 13:57:32.000000000 -0400
> >>+++ linux-2.6.13-rc3.errors/fs/reiserfs/prints.c    2005-07-14
> 16:36:47.000000000 -0400
> >>@@ -269,10 +269,10 @@ void reiserfs_warning(struct super_block
> >>{
> >>    do_reiserfs_warning(fmt);
> >>    if (sb)
> >>-        printk(KERN_WARNING "ReiserFS: %s: warning: %s\n",
> >>-               reiserfs_bdevname(sb), error_buf);
> >>+        printk(KERN_WARNING "REISERFS warning (device %s): %s\n",
> >>+               sb->s_id, error_buf);
> >>    else
> >>-        printk(KERN_WARNING "ReiserFS: warning: %s\n", error_buf);
> >>+        printk(KERN_WARNING "REISERFS warning: %s\n", error_buf);
> >>
> >>
> >why are you changing it to the harder to read all upper case?  It is
> >known from various studies that all uppercase is harder for users to
> read.
>
>
> My argument is that it makes the subsystem more prominent in a quick
> visual search, and is easier on the eyes than the mixed case variant.

Please used mixed case, see literature on all uppercase for why.


Thanks for your other changes.

>
> -Jeff
>
> --
> Jeff Mahoney
> SuSE Labs


      reply	other threads:[~2005-07-19  1:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-18 17:41 [PATCH 1/5] reiserfs: use more consistent printk formatting Jeff Mahoney
2005-07-18 19:32 ` Hans Reiser
2005-07-19  0:42   ` Jeff Mahoney
2005-07-19  1:00     ` Hans Reiser [this message]

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=42DC509D.4070205@namesys.com \
    --to=reiser@namesys.com \
    --cc=jeffm@suse.com \
    --cc=reiserfs-list@namesys.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.