PM / devfreq: missing rcu_read_lock() added for find_device_opp()
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 21 Nov 2012 10:04:51 +0000 (19:04 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 26 Nov 2012 10:17:46 +0000 (19:17 +0900)
opp_get_notifier() uses find_device_opp(), which requires to
held rcu_read_lock. In order to keep the notifier-header
valid, we have added rcu_read_lock().

Reported-by: Kees Cook <keescook@chromium.org>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>

No differences found