Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26278
b: refs/heads/master
c: 47bb789
h: refs/heads/master
v: v3
  • Loading branch information
dean gaudet authored and Linus Torvalds committed Apr 28, 2006
1 parent 5e34f91 commit 412f67f
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: 37e53db8aa233c65142d63b496277bf5be9c0ade
refs/heads/master: 47bb789973fed504e4711ec34e63b84e6cbfb4e8
2 changes: 1 addition & 1 deletion trunk/kernel/power/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ static ssize_t state_store(struct subsystem * subsys, const char * buf, size_t n
if (*s && !strncmp(buf, *s, len))
break;
}
if (*s)
if (state < PM_SUSPEND_MAX && *s)
error = enter_state(state);
else
error = -EINVAL;
Expand Down

0 comments on commit 412f67f

Please sign in to comment.