Re: [PATCH v2] ACPI/IORT: Fix iort_node_get_id() mapping entries indexing

2017-02-03 Thread Lorenzo Pieralisi
On Fri, Feb 03, 2017 at 10:20:29AM +0800, Hanjun Guo wrote: > On 01/10/2017 08:00 PM, Lorenzo Pieralisi wrote: > >Commit 618f535a6062 ("ACPI/IORT: Add single mapping function") > >introduced a function (iort_node_get_id()) to retrieve ids for IORT > >named components. > > > >The iort_node_get_id()

Re: [PATCH v2] ACPI/IORT: Fix iort_node_get_id() mapping entries indexing

2017-02-02 Thread Hanjun Guo
On 01/10/2017 08:00 PM, Lorenzo Pieralisi wrote: Commit 618f535a6062 ("ACPI/IORT: Add single mapping function") introduced a function (iort_node_get_id()) to retrieve ids for IORT named components. The iort_node_get_id() takes an index as input to refer to a specific mapping entry in the named c

Re: [PATCH v2] ACPI/IORT: Fix iort_node_get_id() mapping entries indexing

2017-01-10 Thread Sinan Kaya
On 1/10/2017 7:00 AM, Lorenzo Pieralisi wrote: > Commit 618f535a6062 ("ACPI/IORT: Add single mapping function") > introduced a function (iort_node_get_id()) to retrieve ids for IORT > named components. > > The iort_node_get_id() takes an index as input to refer to a specific > mapping entry in the

[PATCH v2] ACPI/IORT: Fix iort_node_get_id() mapping entries indexing

2017-01-10 Thread Lorenzo Pieralisi
Commit 618f535a6062 ("ACPI/IORT: Add single mapping function") introduced a function (iort_node_get_id()) to retrieve ids for IORT named components. The iort_node_get_id() takes an index as input to refer to a specific mapping entry in the named component IORT node mapping array. For a mapping en