Re: [PATCH v2 3/4] PCI: of: make a flags argument optional

Herve Codina <[email protected]>
Newsgroups org.kernel.vger.linux-pci,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Organization Bootlin
Message-ID <[email protected]>
Hi Alex,

On Wed, 12 Aug 2026 12:22:46 -0500
Alex Elder <[email protected]> wrote:

> The address of a u32 object is passed to of_pci_get_addr_flags() so
> it can be filled with the computed flags value.
> 
> Allow a null pointer to be passed, so that the validity of the
> resource's flags can be checked without filling in the flags value.
> 
> Signed-off-by: Alex Elder <[email protected]>
> ---
>  drivers/pci/of_property.c | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 

Ok but nothing in the series call of_pci_get_addr_flags() with a NULL flags
argument.

Is this modification really needed in this series?

Best regards
Hervé
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.