On Fri, May 17, 2024 at 03:07:34AM +0800, Greg Sword wrote: > On Thu, May 16, 2024 at 11:54 PM Haakon Bugge <haakon.bugge@xxxxxxxxxx> wrote: > > > > Hi Yanjun, > > > > > > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/maintainer-netdev.rst?h=v6.9#n376 > > > > > > " > > > Netdev has a convention for ordering local variables in functions. > > > Order the variable declaration lines longest to shortest, e.g.:: > > > > "Infiniband subsystem" != netdev, right? > > All kernel subsystems should follow this rule, including the network > and rdma subsystems Of course not. The request to sort variables is netdev coding style, rest of the kernel doesn't have this rule and doesn't care about it. In Infiniband, we accept both styles, just to make sure that people who submit their patches to both subsystems won't need to bother themselves with this. Thanks > > > > > > > Thxs, Håkon > >