All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Question about Coding-Style
@ 2014-02-04 12:50 Hannes Petermaier
  2014-02-04 14:14 ` Stefano Babic
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Hannes Petermaier @ 2014-02-04 12:50 UTC (permalink / raw)
  To: u-boot

Hello,

I've read on the U-Boot website about coding style. They say 'All
contributions to U-Boot should conform to the Linux kernel coding style'.
Further i've read this link and there are at least 2 things which i have
troubles with.

1)
a tab-ident is 8 spaces (in eclipse for example with the built in K&R has
4 characters). With 8 characters per TAB the problem from point 2 enters
very, very fast.

2)
a line ist limited to 80 characters (maybe thus comes from very old days
where displays couldn't show more than this and scrolling was very
expensive). is this state of the art ?

In fact i've found a lot of files within the u-boot code which do not obey
to this rules.

Now my question is, how strong are this two points ?
checkpatch.pl rails against a patch file with a lot of warnings if there
is a line longer than 80bytes, also it takes TABS as 8 spaces.

whats your opinion about this ?

Last question:
Is this mailing list the right place of discussing such things ?

many thanks and best regards,
Hannes

mfG
Petermaier Hannes

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

end of thread, other threads:[~2014-02-12 13:21 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-04 12:50 [U-Boot] Question about Coding-Style Hannes Petermaier
2014-02-04 14:14 ` Stefano Babic
2014-02-04 14:18   ` Michael Trimarchi
2014-02-04 14:50   ` Hannes Petermaier
2014-02-04 15:02     ` Stefano Babic
2014-02-04 15:07       ` Tom Rini
2014-02-10  9:58         ` Albert ARIBAUD
2014-02-10 10:16           ` Chris Moore
2014-02-10 10:54             ` Albert ARIBAUD
2014-02-10 18:27             ` Wolfgang Denk
2014-02-04 20:32     ` Wolfgang Denk
2014-02-04 15:02 ` Tom Rini
2014-02-04 20:20 ` Wolfgang Denk
2014-02-04 22:03 ` Scott Wood
2014-02-12 13:21   ` Fabio Estevam

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.