Re: [PATCH 1/8] auto, kbuild: flatten KBUILD_CFLAGS

From: Alexey Dobriyan
Date: Fri May 19 2023 - 07:15:46 EST


On Thu, May 18, 2023 at 01:37:32PM -0700, Andrew Morton wrote:
> On Thu, 18 May 2023 18:46:42 +0300 Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:
>
> > Make it slightly easier to see what compiler options are added and
> > removed (and not worry about column limit too!)
>
> I wish you'd cc'ed Linus.
>
> Turning those four upper-cased macros into upper-cased inline functions
> is just sad. If we're going to do this we surely should go around and
> make them lower-case.

I always wanted to rewrite division functions and get rid of our
countless variants:

q = kdiv(n, d);
q = kdiv3(n, d, &r);

if it gets in they will be renamed again :-)