Messages in this thread | | | Subject | Re: [PATCH 1/2] init/main.c: fix strings split across lines | From | Liu Peibao <> | Date | Wed, 13 Jan 2021 10:02:19 +0800 |
| |
On 1/13/21 5:11 AM, Steven Rostedt wrote: > On Tue, 12 Jan 2021 22:26:21 +0800 > Liu Peibao <liupeibao@163.com> 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 > Whoa, the RCU example is really amazing! Thanks for your detailed explanation.
BR, Peibao
| |