Re: cyclictest: fix warning about printf format for u64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sounds good to me.
Reviewed-by: Geunsik Lim <geunsik.lim@xxxxxxxxxxx>

2011/3/30 Uwe Kleine-KÃnig <u.kleine-koenig@xxxxxxxxxxxxxx>:
> This fixes
>
> Â Â Â Âsrc/cyclictest/cyclictest.c: In function âprint_histâ:
> Â Â Â Âsrc/cyclictest/cyclictest.c:1168: warning: format â%09lluâ expects type âlong long unsigned intâ, but argument 2 has type âuint64_tâ
>
> on amd64.
>
> Signed-off-by: Uwe Kleine-KÃnig <u.kleine-koenig@xxxxxxxxxxxxxx>
> ---
> Âsrc/cyclictest/cyclictest.c | Â Â2 +-
> Â1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/src/cyclictest/cyclictest.c
> +++ b/src/cyclictest/cyclictest.c
> @@ -1165,7 +1165,7 @@
> Â Â Â Â}
> Â Â Â Âprintf("# Total:");
> Â Â Â Âfor (j = 0; j < nthreads; j++)
> - Â Â Â Â Â Â Â printf(" %09llu", log_entries[j]);
> + Â Â Â Â Â Â Â printf(" %09llu", (unsigned long long)log_entries[j]);
> Â Â Â Âprintf("\n");
> Â Â Â Âprintf("# Max Latencys:");
> Â Â Â Âfor (j = 0; j < nthreads; j++)
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at Âhttp://vger.kernel.org/majordomo-info.html
>



-- 
Regards,
Geunsik Lim ( Samsung Electronics )
Blog : http://blog.naver.com/invain/
e-Mail: geunsik.lim@xxxxxxxxxxx
    Â leemgs@xxxxxxxxx , leemgs1@xxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux