aboutsummaryrefslogtreecommitdiff
path: root/hw/slw.c
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-07-08 10:38:33 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-07-11 13:52:09 +1000
commit4e332aecd8bb46558879bbb7726ec39ec53c4622 (patch)
tree3f4eccefe27783f560de64a94371348e6a0a398c /hw/slw.c
parentd7235db2eb8694d5c088fd868c6b1fe4cbc5e1bf (diff)
downloadskiboot-4e332aecd8bb46558879bbb7726ec39ec53c4622.zip
skiboot-4e332aecd8bb46558879bbb7726ec39ec53c4622.tar.gz
skiboot-4e332aecd8bb46558879bbb7726ec39ec53c4622.tar.bz2
slw: fix not indented if condition
found by Smatch static analysis (http://smatch.sourceforge.net/): hw/slw.c:687 add_cpu_idle_state_properties() warn: if statement not indented Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/slw.c')
-rw-r--r--hw/slw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/slw.c b/hw/slw.c
index 3ebe01a..74b9cd5 100644
--- a/hw/slw.c
+++ b/hw/slw.c
@@ -685,7 +685,7 @@ void add_cpu_idle_state_properties(void)
supported_states_mask |= OPAL_PM_SLEEP_ENABLED |
OPAL_PM_SLEEP_ENABLED_ER1;
if (has_slw)
- supported_states_mask |= OPAL_PM_WINKLE_ENABLED;
+ supported_states_mask |= OPAL_PM_WINKLE_ENABLED;
}
for (i = 0; i < nr_states; i++) {
/* For each state, check if it is one of the supported states. */