Re: [PATCH/URL] reiserfs: reformat code with Lindent

From: Linus Torvalds (torvalds_at_osdl.org)
Date: 07/13/05

  • Next message: Pavel Machek: "[patch] more u32 vs. pm_message_t fixes"
    Date:	Tue, 12 Jul 2005 15:49:10 -0700 (PDT)
    To: Jeff Mahoney <jeffm@suse.com>
    
    

    On Tue, 12 Jul 2005, Jeff Mahoney wrote:
    >
    > This patch contains the result of running scripts/Lindent against
    > fs/reiserfs/*.c and include/linux/reiserfs_*.h.

    That can't be true. It isn't actually following the Lindent rules. It has
    that braindamaged "put the type on a separate line" thing for function
    declarations, making a "grep" not show the type. That's very much against
    the Linux coding style.

    So either your "indent" is broken, or you've used something else than
    Lindent.

    Also, if it's a pure indentation change with no other changes, I'd almost
    prefer it as a script, not a patch. That way it's obvious to everybody
    that it's just doing indentation.

                    Linus
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Pavel Machek: "[patch] more u32 vs. pm_message_t fixes"

    Relevant Pages

    • Re: [PATCH][help?] Radeonfb acpi resume
      ... Wrong indentation in acpi_vgapost; I remember there was better patch ... to fix this out there. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] New: Omnikey CardMan 4040 PCMCIA Driver
      ... It would be so much nicer if the patch actually was "below" - that is ... Again spaces used for indentation, please fix all that up to use tabs. ... static int cmx_open(struct inode *inode, ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [PATCH 3/6] mv643xx_eth: fix hw checksum generation on transmit
      ... but not changed by my patch. ... I didn't change the indentation on this line. ... I'll submit several cosmetic patches: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] 2.4.30 PicoPower IRQ router
      ... Only 7 char indentation. ... This mismatch is found several places in the patch. ... See Documentation/CodingStyle Chapter 2 ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [PATCH] Loop device - Tracking page writes made to a loop device through mmap
      ... I missed seeing your reposted patch when I replied to the ... The ioctl cmd LOOP_GET_PGWRITES retrieves the page offsets of pages that have been written to. ... Indent above with 2 tabs, ... indentation. ...
      (Linux-Kernel)