All of lore.kernel.org
 help / color / mirror / Atom feed
* questions about the codingstyle in linux kernel.
@ 2011-06-24 13:25 B tw
  2011-06-25  4:28 ` Mulyadi Santosa
  0 siblings, 1 reply; 5+ messages in thread
From: B tw @ 2011-06-24 13:25 UTC (permalink / raw)
  To: kernelnewbies

Why the coding style in include/linux/page-flags.h is Camel Case? It
is so ugly and uncoordinated.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* questions about the codingstyle in linux kernel.
  2011-06-24 13:25 questions about the codingstyle in linux kernel B tw
@ 2011-06-25  4:28 ` Mulyadi Santosa
  2011-06-25 19:14   ` Jonathan Neuschäfer
  0 siblings, 1 reply; 5+ messages in thread
From: Mulyadi Santosa @ 2011-06-25  4:28 UTC (permalink / raw)
  To: kernelnewbies

On Fri, Jun 24, 2011 at 20:25, B tw <kis.btw@gmail.com> wrote:
> Why the coding style in include/linux/page-flags.h is Camel Case? It
> is so ugly and uncoordinated.

consider it as blessing in disguise :) throw some patches to fix them
to LKML and see how others think about it....
-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* questions about the codingstyle in linux kernel.
  2011-06-25  4:28 ` Mulyadi Santosa
@ 2011-06-25 19:14   ` Jonathan Neuschäfer
  2011-06-25 19:57     ` Mulyadi Santosa
  2011-06-26  5:13     ` B tw
  0 siblings, 2 replies; 5+ messages in thread
From: Jonathan Neuschäfer @ 2011-06-25 19:14 UTC (permalink / raw)
  To: kernelnewbies

On Sat, Jun 25, 2011 at 11:28:46AM +0700, Mulyadi Santosa wrote:
> On Fri, Jun 24, 2011 at 20:25, B tw <kis.btw@gmail.com> wrote:
> > Why the coding style in include/linux/page-flags.h is Camel Case? It
> > is so ugly and uncoordinated.
> 
> consider it as blessing in disguise :) throw some patches to fix them
> to LKML and see how others think about it....

This code has been around for a long time, so there may be quite some
out-of-tree drivers/patches depending on the spelling, and as with
every (?) API the change should be done through
Documentation/feature-removal-schedule.txt.

But now that we have Coccinelle[1], it might turn out to be quite easy
to get rid of this camel-case spelling.

[1] http://coccinelle.lip6.fr/

Btw, if you set off a discussion on the lkml regarding this, please CC me :).

Thanks,
	Jonathan Neusch?fer

^ permalink raw reply	[flat|nested] 5+ messages in thread

* questions about the codingstyle in linux kernel.
  2011-06-25 19:14   ` Jonathan Neuschäfer
@ 2011-06-25 19:57     ` Mulyadi Santosa
  2011-06-26  5:13     ` B tw
  1 sibling, 0 replies; 5+ messages in thread
From: Mulyadi Santosa @ 2011-06-25 19:57 UTC (permalink / raw)
  To: kernelnewbies

On Sun, Jun 26, 2011 at 02:14, Jonathan Neusch?fer
<j.neuschaefer@gmx.net> wrote:
> But now that we have Coccinelle[1], it might turn out to be quite easy
> to get rid of this camel-case spelling.
>
> [1] http://coccinelle.lip6.fr/

thanks for the link :) regarding LKML, i still need time to gather my
bolds and guts to discuss kernel issues there (again) :D


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* questions about the codingstyle in linux kernel.
  2011-06-25 19:14   ` Jonathan Neuschäfer
  2011-06-25 19:57     ` Mulyadi Santosa
@ 2011-06-26  5:13     ` B tw
  1 sibling, 0 replies; 5+ messages in thread
From: B tw @ 2011-06-26  5:13 UTC (permalink / raw)
  To: kernelnewbies

Thank you very much for your explanation and the link. :-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-06-26  5:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-24 13:25 questions about the codingstyle in linux kernel B tw
2011-06-25  4:28 ` Mulyadi Santosa
2011-06-25 19:14   ` Jonathan Neuschäfer
2011-06-25 19:57     ` Mulyadi Santosa
2011-06-26  5:13     ` B tw

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.