Re: Merging of completely unreviewed drivers
From: Krzysztof Halasa
Date: Thu Feb 21 2008 - 21:24:18 EST
Al Viro <viro@xxxxxxxxxxxxxxxxxx> writes:
> ... if your style is lousy. I agree that situation with printks is
> not normal in that respect and I certainly have no love for the
> checkpatch nonsense, but pressure to keep the fucking nesting depth
> low is a Good Thing(tm).
Indeed. Unfortunately it is orthogonal to the line length limit.
We should limit the nesting level, though I think there is no
universally good value. What is good for one case (a function with a
short multi-level if/for/etc) is bad for another (a long switch()
where any added complexity makes it unparseable).
So I think it just have to meet the author's and reviewers' taste. We
already depend on this.
--
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/