Reverse Christmas trees
Reverse Christmas trees
Posted Jun 28, 2018 14:48 UTC (Thu) by corbet (editor, #1)In reply to: Let them run CAKE by mtaht
Parent article: Let them run CAKE
One of the many obstacles we put in the path of incoming kernel developers is the fact that different subsystems have different rules, and many of them are not written down. The cosmetic ordering of local variable declarations is one of those; only a few maintainers insist on that, while most really do not care or think that it's actively silly. There would probably be a fair amount of opposition to enshrining this requirement in checkpatch.pl.
There's been a low rumble of conversation for a bit about trying to document the subsystem-specific rules — both to make them easier to follow and to simply shine some sunlight on some of them. But we've not managed to make any progress on that yet.
