summaryrefslogtreecommitdiff
path: root/drivers/char/ipmi/ipmi_ssif.c
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2014-12-30 22:31:45 +0300
committerCorey Minyard <cminyard@mvista.com>2014-12-30 22:34:36 +0300
commit1421c935df159c8b893e82dd81b329b8977c4e86 (patch)
treebd56a51ca2fe57522110368192537833bd0ba71b /drivers/char/ipmi/ipmi_ssif.c
parent5faa0154fe333e11ae3826296e08eada1d1d2ec8 (diff)
downloadlinux-1421c935df159c8b893e82dd81b329b8977c4e86.tar.xz
ipmi: Fix compile warning with tv_usec
It's not a long int on all arches. Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/ipmi/ipmi_ssif.c')
-rw-r--r--drivers/char/ipmi/ipmi_ssif.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_ssif.c b/drivers/char/ipmi/ipmi_ssif.c
index fd5a5e85d7dc..982b96323f82 100644
--- a/drivers/char/ipmi/ipmi_ssif.c
+++ b/drivers/char/ipmi/ipmi_ssif.c
@@ -969,7 +969,8 @@ static void sender(void *send_info,
do_gettimeofday(&t);
pr_info("**Enqueue %02x %02x: %ld.%6.6ld\n",
- msg->data[0], msg->data[1], t.tv_sec, t.tv_usec);
+ msg->data[0], msg->data[1],
+ (long) t.tv_sec, (long) t.tv_usec);
}
}