Re: emacs and "linux" coding style

From: Krzysztof Halasa
Date: Sat Jul 17 2010 - 05:21:28 EST


Dimitrios Apostolou <jimis@xxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/