From: Corey Minyard Date: Tue, 30 Dec 2014 19:31:45 +0000 (-0600) Subject: ipmi: Fix compile warning with tv_usec X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1421c935df159c8b893e82dd81b329b8977c4e86;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ipmi: Fix compile warning with tv_usec It's not a long int on all arches. Signed-off-by: Corey Minyard --- 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); } }