• S
    trace: fix printk warning for u64 · e2862c94
    Stephen Rothwell 提交于
    A powerpc ppc64_defconfig build produces these warnings:
    
    kernel/trace/ring_buffer.c: In function 'rb_add_time_stamp':
    kernel/trace/ring_buffer.c:969: warning: format '%llu' expects type 'long long unsigned int', but argument 2 has type 'u64'
    kernel/trace/ring_buffer.c:969: warning: format '%llu' expects type 'long long unsigned int', but argument 3 has type 'u64'
    kernel/trace/ring_buffer.c:969: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'u64'
    
    Just cast the u64s to unsigned long long like we do everywhere else.
    Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
    Acked-by: NSteven Rostedt <srostedt@redhat.com>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    e2862c94
ring_buffer.c 48.0 KB