lkml.org 
[lkml]   [2024]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v1 1/1] serial: 8250_pci1xxxx: Don't use "proxy" headers
From
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@linux.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…

Reviewed-by: Jiri Slaby <jirislaby@kernel.org>

--
js
suse labs


\
 
 \ /
  Last update: 2024-05-27 15:02    [W:0.056 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site