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

Alex Elder <[email protected]>
Newsgroups org.kernel.vger.linux-pci,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On 8/19/26 5:22 AM, Herve Codina wrote:
> 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.

You're right.  This is needed for the dynamic range update series.
   https://lore.kernel.org/lkml/[email protected]/

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

					-Alex

> 
> 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.