[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Zcy5CI6FfpyZNb4e@smile.fi.intel.com>
Date: Wed, 14 Feb 2024 14:58:48 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Jiri Slaby <jirislaby@...nel.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Rengarajan S <rengarajan.s@...rochip.com>,
linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org,
Kumaravel Thiagarajan <kumaravel.thiagarajan@...rochip.com>,
Tharun Kumar P <tharunkumar.pasumarthi@...rochip.com>
Subject: Re: [PATCH v1 1/1] serial: 8250_pci1xxxx: Don't use "proxy" headers
On Wed, Feb 14, 2024 at 10:15:10AM +0100, Jiri Slaby wrote:
> On 13. 02. 24, 20:38, Andy Shevchenko wrote:
> > Update header inclusions to follow IWYU (Include What You Use)
> > principle.
> >
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
>
> Looks good, but hard to tell if it is correct :P.
>
> I like this qt-creator feature: "this header is not directly used, remove?".
> Maybe we could extend it to the kernel somehow (as it uses clang to decide,
> I suppose). As was shown recently, removing the inclusion hell can decrease
> the build time significantly…
Yes, that's what Ingo's gigantic patch series targeted, but seems no-one is
interested enough to get it through. clang people also wanted to have a tool
like checkpatch for the inclusions or even like coccinelle to just fix the
code, but it's a project with no deadline or milestones AFAIK.
> Reviewed-by: Jiri Slaby <jirislaby@...nel.org>
Thank you!
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists