projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5faa015
)
ipmi: Fix compile warning with tv_usec
author
Corey Minyard
<cminyard@mvista.com>
Tue, 30 Dec 2014 19:31:45 +0000
(13:31 -0600)
committer
Corey Minyard
<cminyard@mvista.com>
Tue, 30 Dec 2014 19:34:36 +0000
(13:34 -0600)
It's not a long int on all arches.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_ssif.c
patch
|
blob
|
history
diff --git
a/drivers/char/ipmi/ipmi_ssif.c
b/drivers/char/ipmi/ipmi_ssif.c
index fd5a5e85d7dc604e2ebe237ee34ce9355d81d866..982b96323f823b8402ede2ceec7c0cb85c042ec4 100644
(file)
--- 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);
}
}