lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aS-mTGjGtn1gQuvI@moxa-ThinkCentre-M90t>
Date: Wed, 3 Dec 2025 10:54:04 +0800
From: Crescent Hsieh <crescentcy.hsieh@...a.com>
To: Andy Shevchenko <andy.shevchenko@...il.com>
Cc: gregkh@...uxfoundation.org, jirislaby@...nel.org,
	ilpo.jarvinen@...ux.intel.com, linux-kernel@...r.kernel.org,
	linux-serial@...r.kernel.org
Subject: Re: [PATCH v1 09/31] serial: 8250: split 8250_mxpcie from 8250_pci

On Sun, Nov 30, 2025 at 09:22:20PM +0200, Andy Shevchenko wrote:
> On Sun, Nov 30, 2025 at 12:44 PM Crescent Hsieh
> <crescentcy.hsieh@...a.com> wrote:
> > +#include <linux/module.h>
> > +#include <linux/pci.h>
> 
> This needs more headers to be included
> 
> bitfield.h
> bits.h
> dev_printk.h
> device/devres.h
> ioport.h
> types.h

May I ask a clarification: my understanding was to include headers only
when the corresponding symbols are directly used.

Is the intention here to avoid relying on implicit includes and to make
the driver’s dependencies explicit?

---
Sincerely,
Crescent Hsieh

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ