Re: [PATCH 1/2] init/main.c: fix strings split across lines

From: Steven Rostedt
Date: Tue Jan 12 2021 - 16:50:40 EST


On Tue, 12 Jan 2021 22:26:21 +0800
Liu Peibao <liupeibao@xxxxxxx> wrote:

> Thanks for your replay! I get it.
> But I still feel a little confused that we use different standard to
> measure the existing code and the new code. I also checked some commits,
> there are similar patches too.

For the reason of different standards for existing code to new code. Think
of it as a "grandfather clause". Where rules change for new instantiations,
but if you already have something, you can still use the old rules. Hmm,
it's kind of like how RCU works!

As for some commits getting it. They sometimes get pulled in by various
maintainers, and also may happen if you are changing the code around
something. With the "one commit does one thing", you can have a "clean up
code" patch followed by a "change the code" patch. matters what the context
is.

-- Steve