Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177599
b: refs/heads/master
c: edb9491
h: refs/heads/master
i:
  177597: f14ebbb
  177595: e08a4d8
  177591: ad40369
  177583: 0d7a689
  177567: 60decc0
  177535: 1901d69
v: v3
  • Loading branch information
Roel Kluin authored and Len Brown committed Dec 16, 2009
1 parent 031b900 commit a787d44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 13c41157096f05d5037a99152b4cf9d68ef00ef7
refs/heads/master: edb949185210365f107ddc5efa60df105d25e1d7
2 changes: 1 addition & 1 deletion trunk/drivers/thermal/thermal_sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,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);
Expand Down

0 comments on commit a787d44

Please sign in to comment.