[PATCH v2 0/3] resource: Use list_head to link sibling resource

2018-04-07 Thread Baoquan He
This post mainly converts strut resource's sibling list from singly linked list to doubly linked list, list_head. This is suggested by Andrew. Since I need a reversed searching on iomem_resource's IORESOURCE_SYSTEM_RAM children, the old singly linked list way makes the code in v1 post really

[PATCH v2 0/3] resource: Use list_head to link sibling resource

2018-04-07 Thread Baoquan He
This post mainly converts strut resource's sibling list from singly linked list to doubly linked list, list_head. This is suggested by Andrew. Since I need a reversed searching on iomem_resource's IORESOURCE_SYSTEM_RAM children, the old singly linked list way makes the code in v1 post really