diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-07-08 10:38:33 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-07-11 13:52:09 +1000 |
commit | 4e332aecd8bb46558879bbb7726ec39ec53c4622 (patch) | |
tree | 3f4eccefe27783f560de64a94371348e6a0a398c /hw/slw.c | |
parent | d7235db2eb8694d5c088fd868c6b1fe4cbc5e1bf (diff) | |
download | skiboot-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. */ |