diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2017-06-28 16:56:20 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-06-29 01:24:35 +0200 |
commit | a7e2d1bce4c1db471f1cbc0c4666a3112bbf0994 (patch) | |
tree | 027a5fc7eb8f295345a96073c818a50cbbe5ced3 /drivers/base/power/domain_governor.c | |
parent | b556b15dc04e9b9b98790f04c21acf5e24f994b2 (diff) | |
download | linux-a7e2d1bce4c1db471f1cbc0c4666a3112bbf0994.tar.gz linux-a7e2d1bce4c1db471f1cbc0c4666a3112bbf0994.tar.bz2 linux-a7e2d1bce4c1db471f1cbc0c4666a3112bbf0994.zip |
PM / Domains: Fix unsafe iteration over modified list of domains
of_genpd_remove_last() iterates over list of domains and removes
matching element thus it has to use safe version of list iteration.
Fixes: 17926551c98a (PM / Domains: Add support for removing nested PM domains by provider)
Cc: 4.9+ <stable@vger.kernel.org> # 4.9+
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base/power/domain_governor.c')
0 files changed, 0 insertions, 0 deletions