diff options
author | Xie XiuQi <xiexiuqi@huawei.com> | 2014-01-24 14:00:51 -0600 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-25 15:31:58 -0800 |
commit | ccb3368cb4b97e2d8a763b894303e6a127f87bc8 (patch) | |
tree | ec617172c159c1ab40fec494b36ad69e76e3232a /drivers/char/ipmi/ipmi_smic_sm.c | |
parent | aa5b2bab9c3eeb1f8135ba5e30c3ce712e099d81 (diff) | |
download | lwn-ccb3368cb4b97e2d8a763b894303e6a127f87bc8.tar.gz lwn-ccb3368cb4b97e2d8a763b894303e6a127f87bc8.zip |
ipmi: use USEC_PER_SEC instead of 1000000 for more meaningful
Use USEC_PER_SEC instead of 1000000, that making the later bugfix
more clearly.
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/ipmi/ipmi_smic_sm.c')
-rw-r--r-- | drivers/char/ipmi/ipmi_smic_sm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_smic_sm.c b/drivers/char/ipmi/ipmi_smic_sm.c index faed92971907..c8e77afa8b96 100644 --- a/drivers/char/ipmi/ipmi_smic_sm.c +++ b/drivers/char/ipmi/ipmi_smic_sm.c @@ -80,7 +80,7 @@ enum smic_states { #define SMIC_MAX_ERROR_RETRIES 3 /* Timeouts in microseconds. */ -#define SMIC_RETRY_TIMEOUT 2000000 +#define SMIC_RETRY_TIMEOUT (2*USEC_PER_SEC) /* SMIC Flags Register Bits */ #define SMIC_RX_DATA_READY 0x80 |