mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
Merge branch 'misc-2.6.33' into release
This commit is contained in:
commit
aa96ce0af8
10 changed files with 60 additions and 52 deletions
|
|
@ -377,7 +377,7 @@ thermal_cooling_device_cur_state_store(struct device *dev,
|
|||
if (!sscanf(buf, "%ld\n", &state))
|
||||
return -EINVAL;
|
||||
|
||||
if (state < 0)
|
||||
if ((long)state < 0)
|
||||
return -EINVAL;
|
||||
|
||||
result = cdev->ops->set_cur_state(cdev, state);
|
||||
|
|
|
|||
Loading…
Reference in a new issue