All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: "Ted Ts'o" <tytso@mit.edu>
Cc: Joe Perches <joe@perches.com>, Andy Whitcroft <apw@shadowen.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] checkpatch: Suggest pr_<level> over printk(KERN_<LEVEL>
Date: Tue, 13 Mar 2012 14:55:17 -0700	[thread overview]
Message-ID: <20120313145517.f4fcae46.akpm@linux-foundation.org> (raw)
In-Reply-To: <20120313120514.GA17538@thunk.org>

On Tue, 13 Mar 2012 08:05:14 -0400
"Ted Ts'o" <tytso@mit.edu> wrote:

> On Mon, Mar 12, 2012 at 11:23:03PM -0700, Joe Perches wrote:
> > Suggest the shorter pr_<level> instead of printk(KERN_<LEVEL>.
> > 
> > Prefer to use pr_<level> over bare printks.
> > Prefer to use pr_warn over pr_warning.
> > 
> > Signed-off-by: Joe Perches <joe@perches.com>
> 
> Is this even worth a warning?   I don't think so....

mm...  probably.  It's not a thing I ever bother mentioning in review,
but I guess pr_foo() is a bit denser, and doing the same thing in two
different ways is always an irritant.

I'll put the patch in my tree for a while and see how irritating I find
it ;)


  reply	other threads:[~2012-03-13 21:55 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-02  2:55 pull request: bluetooth-next 2012-03-01 Gustavo Padovan
2012-03-02  3:16 ` David Miller
2012-03-02  3:23   ` David Miller
2012-03-02  3:26     ` David Miller
2012-03-02  4:13       ` Joe Perches
2012-03-02  5:35         ` [PATCH] checkpatch: Add --strict tests for braces, comments and casts Joe Perches
2012-03-02  5:54           ` [PATCH] checkpatch: Add --strict test for strings split across multiple lines Joe Perches
2012-03-13  6:23             ` [PATCH] checkpatch: Suggest pr_<level> over printk(KERN_<LEVEL> Joe Perches
2012-03-13 12:05               ` Ted Ts'o
2012-03-13 21:55                 ` Andrew Morton [this message]
2012-03-13 22:01                   ` Ted Ts'o
2012-03-13 22:03                     ` Andrew Morton
2012-03-14  0:31                       ` Ted Ts'o
2012-03-14  0:47                         ` Joe Perches
2012-03-14  1:07                           ` Ted Ts'o
2012-03-14  1:17                             ` Joe Perches
2012-03-14  2:19                               ` Ted Ts'o
2012-03-14  2:31                                 ` Joe Perches
2012-03-14  2:41                                   ` Ted Ts'o
2012-03-14  3:01                                     ` Joe Perches
2012-03-14 12:34                                       ` Ted Ts'o
2012-03-14 13:05                                         ` Joe Perches
2012-03-14 13:45                                           ` Ted Ts'o
2012-03-14 14:06                                             ` Joe Perches
2012-03-02 16:37       ` pull request: bluetooth-next 2012-03-01 Gustavo Padovan
2012-03-02 21:15         ` David Miller
2012-03-03 16:46           ` Gustavo Padovan
2012-03-03 19:46             ` David Miller
2012-03-03 19:47             ` David Miller
2012-03-03 20:04               ` Joe Perches
2012-03-03 20:06                 ` David Miller

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=20120313145517.f4fcae46.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=apw@shadowen.org \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tytso@mit.edu \
    /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.