summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/step_wise.c
diff options
context:
space:
mode:
authorHugh Dickins <hughd@google.com>2012-09-27 16:48:28 -0700
committerZhang Rui <rui.zhang@intel.com>2012-11-05 14:00:10 +0800
commit791700cdfc2453eb927ff7875d183d9808d89bfb (patch)
tree3a15ca2ea9f3b0094e42f3f329ab54105e2f61f4 /drivers/thermal/step_wise.c
parenta56757af8e7d7d8bfb6317c25b6a8809abfceb9a (diff)
downloadop-kernel-dev-791700cdfc2453eb927ff7875d183d9808d89bfb.zip
op-kernel-dev-791700cdfc2453eb927ff7875d183d9808d89bfb.tar.gz
Thermal: Fix oops and unlocking in thermal_sys.c
This patch fixes the following mutex and NULL pointer problems in thermal_sys.c: * mutex_unlock fix in update_temperature function * mutex_unlock fix in bind_cdev function * Correct early return to continue in bind_cdev function * NULL check fix in bind_cdev function * NULL check fix in bind_tz function Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Reported-by: Sedat Dilek <sedat.dilek@gmail.com> Reported-by: Hugh Dickins <hughd@google.com> Signed-off-by: Durgadoss R <durgadoss.r@intel.com> Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com> Signed-off-by: Hugh Dickins <hughd@google.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/step_wise.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud