lkml.org 
[lkml]   [2010]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: emacs and "linux" coding style
Date
Dimitrios Apostolou <jimis@gmx.net> writes:

> static void update_group_shares_cpu(struct task_group *tg, int cpu,
> unsigned long sd_shares,
> unsigned long sd_rq_weight,
> unsigned long *usd_rq_weight)
> {

From a technical POV the above should not have any tabs, the parameters
should be aligned with spaces only.

The tabs should be used for (syntactic) indentation only.

This way we can display the code correctly with any tab length.
--
Krzysztof Halasa


\
 
 \ /
  Last update: 2010-07-17 11:23    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog