On 09/20/18 at 02:39pm, lijiang wrote:
> 在 2018年09月19日 21:29, Borislav Petkov 写道:
> > On Wed, Sep 19, 2018 at 08:52:49PM +0800, Lianbo Jiang wrote:
> >
> > ...
> >
> >> In fact, we should get the resource A and B when we walk through the
> >> whole tree, but it only gets the resource A, the
在 2018年09月19日 21:29, Borislav Petkov 写道:
> On Wed, Sep 19, 2018 at 08:52:49PM +0800, Lianbo Jiang wrote:
>
> ...
>
>> In fact, we should get the resource A and B when we walk through the
>> whole tree, but it only gets the resource A, the resource B is missed.
>>
>> Signed-off-by: Dave Young
>>
On Wed, Sep 19, 2018 at 08:52:49PM +0800, Lianbo Jiang wrote:
...
> In fact, we should get the resource A and B when we walk through the
> whole tree, but it only gets the resource A, the resource B is missed.
>
> Signed-off-by: Dave Young
> Signed-off-by: Lianbo Jiang
Before looking at
When we walk through iomem resources by calling walk_iomem_res_desc(),
the values of the function parameter may be modified in the while loop
of __walk_iomem_res_desc(), which will cause us to not get the desired
result in some cases.
At present, it only restores the original value of res->end,