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

From: Alex Elder

Date: Wed Aug 19 2026 - 10:28:53 EST


On 8/19/26 5:22 AM, Herve Codina wrote:
Hi Alex,

On Wed, 12 Aug 2026 12:22:46 -0500
Alex Elder <elder@xxxxxxxxxxxx> 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 <elder@xxxxxxxxxxxx>
---
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.

You're right. This is needed for the dynamic range update series.
https://lore.kernel.org/lkml/20260813220717.1394644-1-elder@xxxxxxxxxxxx/

I'll move it out of this series and into that one.

-Alex


Is this modification really needed in this series?

Best regards
Hervé