public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@alien8.de>
To: Joe Perches <joe@perches.com>
Cc: Richard Weinberger <richard@nod.at>,
	akpm@linux-foundation.org, apw@canonical.com, tytso@mit.edu,
	dwalter@google.com, bp@suse.de, neilb@suse.de, hch@infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] checkpatch.pl: Remove --file option
Date: Thu, 17 Jul 2014 18:02:36 +0200	[thread overview]
Message-ID: <20140717160236.GD22791@pd.tnic> (raw)
In-Reply-To: <1405612283.12363.10.camel@joe-AO725>

On Thu, Jul 17, 2014 at 08:51:23AM -0700, Joe Perches wrote:
> grep is a similar tool, just less automated.

And still, we don't want to encourage people with useless cleanups.

> I think it should really only be used in --file mode
> on drivers/staging/.

Also dumb idea - having to look at a single patch "correcting" a whole
file in staging without any explanation why it is done is not something
we want to encourage either.

People cleaning up staging should first understand what they're doing
and not listen to some script what to do.

> I wouldn't mind adding some additional "yes, I really
> mean to do this" cmd-line flag when it's used on any
> file outside of staging with some additional warning
> that "--file" is discouraged outside of staging when
> it's not there.

No, checkpatch should only check patches and not whole file. It is
wrong. Fullstop.

-- 
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--

  reply	other threads:[~2014-07-17 16:02 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-17 15:34 [PATCH] checkpatch.pl: Remove --file option Richard Weinberger
2014-07-17 15:38 ` Borislav Petkov
2014-07-17 15:51 ` Joe Perches
2014-07-17 16:02   ` Borislav Petkov [this message]
2014-07-17 16:24     ` Joe Perches
2014-07-22  5:27     ` Kalle Valo
2014-08-04 14:30       ` Pavel Machek
2014-07-17 22:43   ` Thomas Gleixner
2014-07-18  7:29 ` Guenter Roeck
2014-07-18  8:23   ` Borislav Petkov
2014-07-18 13:37     ` Guenter Roeck
2014-07-18 13:46       ` Richard Weinberger
2014-07-18 13:56         ` Guenter Roeck
2014-07-18 14:22           ` Borislav Petkov
2014-07-18 14:21         ` Christoph Hellwig
2014-07-18 14:27           ` Borislav Petkov
2014-07-18 14:43             ` Guenter Roeck
2014-07-18 14:56               ` Borislav Petkov
2014-07-18 14:17 ` Lars-Peter Clausen
2014-07-18 14:24   ` Borislav Petkov
2014-07-18 14:35     ` Joe Perches
2014-07-18 14:49       ` Borislav Petkov
2014-07-18 14:57         ` Joe Perches
2014-07-18 15:06           ` Borislav Petkov

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=20140717160236.GD22791@pd.tnic \
    --to=bp@alien8.de \
    --cc=akpm@linux-foundation.org \
    --cc=apw@canonical.com \
    --cc=bp@suse.de \
    --cc=dwalter@google.com \
    --cc=hch@infradead.org \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=richard@nod.at \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox