public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: + readahead-record-mmap-read-around-states-in-file_ra_state-checkpatch -fixes.patch added to -mm tree
       [not found] <200904102341.n3ANfAxR022088@imap1.linux-foundation.org>
@ 2009-04-11  4:25 ` Wu Fengguang
  0 siblings, 0 replies; only message in thread
From: Wu Fengguang @ 2009-04-11  4:25 UTC (permalink / raw)
  To: akpm; +Cc: mm-commits, LKML

On Fri, Apr 10, 2009 at 04:41:09PM -0700, Andrew Morton wrote:
> 
> The patch titled
>      readahead-record-mmap-read-around-states-in-file_ra_state-checkpatch-fixes
> has been added to the -mm tree.  Its filename is
>      readahead-record-mmap-read-around-states-in-file_ra_state-checkpatch-fixes.patch
> 
> Before you just go and hit "reply", please:
>    a) Consider who else should be cc'ed
>    b) Prefer to cc a suitable mailing list as well
>    c) Ideally: find the original patch on the mailing list and do a
>       reply-to-all to that, adding suitable additional cc's
> 
> *** Remember to use Documentation/SubmitChecklist when testing your code ***
> 
> See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
> out what to do about this
> 
> The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
> 
> ------------------------------------------------------
> Subject: readahead-record-mmap-read-around-states-in-file_ra_state-checkpatch-fixes
> From: Andrew Morton <akpm@linux-foundation.org>
> 
> ERROR: code indent should use tabs where possible
> #42: FILE: include/linux/mm.h:1202:
> +^I^I        struct address_space *mapping,$
> 
> total: 1 errors, 0 warnings, 83 lines checked
> 
> /patches/readahead-record-mmap-read-around-states-in-file_ra_state.patch has style problems, please review.  If any of these errors
> are false positives report them to the maintainer, see
> CHECKPATCH in MAINTAINERS.
> 
> Please run checkpatch prior to sending patches

Thanks! I used to do the checks one by one:

        scripts/checkpatch.pl `quilt top`

I'll switch to this script for more productive and complete checks:

        #!/bin/sh
        # Usage: ./check-series < patches/series

        CHECKPATCH=/usr/src/linux/scripts/checkpatch.pl

        while read patch
        do     
                scripts/checkpatch.pl patches/$patch
        done

Thanks,
Fengguang

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-11  4:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200904102341.n3ANfAxR022088@imap1.linux-foundation.org>
2009-04-11  4:25 ` + readahead-record-mmap-read-around-states-in-file_ra_state-checkpatch -fixes.patch added to -mm tree Wu Fengguang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox