Merge branch 'misc-2.6.33' into release

This commit is contained in:
Len Brown
2009-12-16 14:22:32 -05:00
10 changed files with 60 additions and 52 deletions
+1 -1
View File
@@ -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);