[PATCH 02/11] resource: make resource flags handled properly

2015-12-14 Thread Toshi Kani
I/O resource flags consist of I/O resource types and modifier bits. Therefore, checking I/O resource type of the flags must be performed with a bitwise operation. Fix find_next_iomem_res() and region_intersects() that simply compare the flags against a given value. Also change

[PATCH 02/11] resource: make resource flags handled properly

2015-12-14 Thread Toshi Kani
I/O resource flags consist of I/O resource types and modifier bits. Therefore, checking I/O resource type of the flags must be performed with a bitwise operation. Fix find_next_iomem_res() and region_intersects() that simply compare the flags against a given value. Also change