[PATCH 3.16 068/192] PM / Domains: Fix unsafe iteration over modified list of device links

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit c6e83cac3eda5f7dd32ee1453df2f7abb5c6cd46 upstream. pm_genpd_remove_subdomain() iterates over domain's master_links list and removes matching

[PATCH 3.16 068/192] PM / Domains: Fix unsafe iteration over modified list of device links

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit c6e83cac3eda5f7dd32ee1453df2f7abb5c6cd46 upstream. pm_genpd_remove_subdomain() iterates over domain's master_links list and removes matching element thus it has to