Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1295262

Indent issus in kernel module development

From chunguang qu <quchunguang@gmail.com>
Newsgroups linux.kernel
Subject Indent issus in kernel module development
Date 2015-12-19 03:10 +0100
Message-ID <qHf85-5om-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


`indent -linux` sometimes made my code totally a mess.
I know it most likely a bug of GNU INDENT. And this is not a bug report.
I only want to know other kernel developers how to deal with this problem.
Since GUN INDENT is recommend in kernel's CodingStyle, I think surely
someone here encounter this problem either.

CMD
LANG=C indent -linux

FROM
http://paste.ubuntu.com/14093393/

TO
http://paste.ubuntu.com/14093405/

Thanks.

-- 
[Kevin Q (ChunGuang Qu)](mailto:quchunguang@gmail.com) [public
key](http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x5B06DCA77BEF043B)
@sdu.edu.cn @gnu.org @mit.edu
--
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/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Indent issus in kernel module development chunguang qu <quchunguang@gmail.com> - 2015-12-19 03:10 +0100
  Re: Indent issus in kernel module development Randy Dunlap <rdunlap@infradead.org> - 2015-12-19 03:30 +0100
    Re: Indent issus in kernel module development chunguang qu <quchunguang@gmail.com> - 2015-12-19 07:00 +0100
      Re: Indent issus in kernel module development Joe Perches <joe@perches.com> - 2015-12-19 07:20 +0100
        Re: Indent issus in kernel module development chunguang qu <quchunguang@gmail.com> - 2015-12-20 14:00 +0100
          Re: Indent issus in kernel module development "Austin S. Hemmelgarn" <ahferroin7@gmail.com> - 2015-12-21 16:20 +0100

csiph-web