diff options
| author | Corey Minyard <cminyard@mvista.com> | 2014-04-14 10:46:56 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-17 15:30:40 -0400 |
| commit | 7aefac26fc67158cb8826a5f5bfc2a5086a7d962 (patch) | |
| tree | dd3c6050fd653f6bdffe51452db2358ff372bddb /include | |
| parent | 89986496de141213206d49450ffdd36098d41209 (diff) | |
ipmi: boolify some things
Convert some ints to bools.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/ipmi_smi.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/ipmi_smi.h b/include/linux/ipmi_smi.h index 2a7ff302d990..bd349240d50e 100644 --- a/include/linux/ipmi_smi.h +++ b/include/linux/ipmi_smi.h | |||
| @@ -114,14 +114,14 @@ struct ipmi_smi_handlers { | |||
| 114 | pretimeouts, or not. Used by the SMI to know if it should | 114 | pretimeouts, or not. Used by the SMI to know if it should |
| 115 | watch for these. This may be NULL if the SMI does not | 115 | watch for these. This may be NULL if the SMI does not |
| 116 | implement it. */ | 116 | implement it. */ |
| 117 | void (*set_need_watch)(void *send_info, int enable); | 117 | void (*set_need_watch)(void *send_info, bool enable); |
| 118 | 118 | ||
| 119 | /* Called when the interface should go into "run to | 119 | /* Called when the interface should go into "run to |
| 120 | completion" mode. If this call sets the value to true, the | 120 | completion" mode. If this call sets the value to true, the |
| 121 | interface should make sure that all messages are flushed | 121 | interface should make sure that all messages are flushed |
| 122 | out and that none are pending, and any new requests are run | 122 | out and that none are pending, and any new requests are run |
| 123 | to completion immediately. */ | 123 | to completion immediately. */ |
| 124 | void (*set_run_to_completion)(void *send_info, int run_to_completion); | 124 | void (*set_run_to_completion)(void *send_info, bool run_to_completion); |
| 125 | 125 | ||
| 126 | /* Called to poll for work to do. This is so upper layers can | 126 | /* Called to poll for work to do. This is so upper layers can |
| 127 | poll for operations during things like crash dumps. */ | 127 | poll for operations during things like crash dumps. */ |
| @@ -132,7 +132,7 @@ struct ipmi_smi_handlers { | |||
| 132 | setting. The message handler does the mode handling. Note | 132 | setting. The message handler does the mode handling. Note |
| 133 | that this is called from interrupt context, so it cannot | 133 | that this is called from interrupt context, so it cannot |
| 134 | block. */ | 134 | block. */ |
| 135 | void (*set_maintenance_mode)(void *send_info, int enable); | 135 | void (*set_maintenance_mode)(void *send_info, bool enable); |
| 136 | 136 | ||
| 137 | /* Tell the handler that we are using it/not using it. The | 137 | /* Tell the handler that we are using it/not using it. The |
| 138 | message handler get the modules that this handler belongs | 138 | message handler get the modules that this handler belongs |
