[PATCH 5.4.y -v2] resource: fix region_intersects() vs add_memory_driver_managed()