projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63f9ccb
)
PM / hibernate: Add missing braces in hibernate_setup()
author
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Wed, 6 Jul 2016 00:40:56 +0000
(
02:40
+0200)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Sat, 9 Jul 2016 23:37:13 +0000
(
01:37
+0200)
Make hibernate_setup() follow the coding style more closely by adding
some missing braces to the if () statement in it.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/hibernate.c
patch
|
blob
|
history
diff --git
a/kernel/power/hibernate.c
b/kernel/power/hibernate.c
index 126e24caa82edd9f37f1c9a6daa16b5e91d40798..b00f270d328eccd480a801a8ffdf920cb7da5d90 100644
(file)
--- a/
kernel/power/hibernate.c
+++ b/
kernel/power/hibernate.c
@@
-1119,11
+1119,11
@@
static int __init resume_offset_setup(char *str)
static int __init hibernate_setup(char *str)
{
- if (!strncmp(str, "noresume", 8))
+ if (!strncmp(str, "noresume", 8))
{
noresume = 1;
- else if (!strncmp(str, "nocompress", 10))
+ } else if (!strncmp(str, "nocompress", 10)) {
nocompress = 1;
- else if (!strncmp(str, "no", 2)) {
+
}
else if (!strncmp(str, "no", 2)) {
noresume = 1;
nohibernate = 1;
}