[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260102095029.03481f90@gandalf.local.home>
Date: Fri, 2 Jan 2026 09:50:29 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Andy Shevchenko <andriy.shevchenko@...el.com>
Cc: Alexey Dobriyan <adobriyan@...il.com>, James Bottomley
<James.Bottomley@...senpartnership.com>, ksummit@...ts.linux.dev, Dan
Williams <dan.j.williams@...el.com>, linux-kernel
<linux-kernel@...r.kernel.org>, Dan Carpenter <dan.carpenter@...aro.org>
Subject: Re: Clarifying confusion of our variable placement rules caused by
cleanup.h
On Wed, 31 Dec 2025 13:17:32 +0100
Andy Shevchenko <andriy.shevchenko@...el.com> wrote:
> > There was variation of this type of nonsense with headers (not only it has
> > to be sorted alphabetically but by length too!)
>
> By length it indeed sounds weird, but alphabetical is the natural language
> order everybody learnt from the daycare / school years, so it's properly
> programmed in our deep brain. Having that allows to find easily if anything one
> is interested in is already being included. Also it allows to avoid dup inclusions
> (was there, fixed that for real). So, it's not bad.
Actually, I like the "by length" because its aesthetically easier on the eyes.
Alphabetically is fine, but either one helps in catching duplicate headers.
-- Steve
Powered by blists - more mailing lists