KVM: PPC: Book3S HV: Comment style and print format fixups
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>
Fri, 14 Oct 2016 00:53:23 +0000 (11:53 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Mon, 28 Nov 2016 00:48:47 +0000 (11:48 +1100)
Fix comment block to match kernel comment style.

Fix print format from signed to unsigned.

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/kvm/trace_hv.h

index 0b0ca27..be8f83c 100644 (file)
@@ -2609,7 +2609,8 @@ static void shrink_halt_poll_ns(struct kvmppc_vcore *vc)
                vc->halt_poll_ns /= halt_poll_ns_shrink;
 }
 
-/* Check to see if any of the runnable vcpus on the vcore have pending
+/*
+ * Check to see if any of the runnable vcpus on the vcore have pending
  * exceptions or are no longer ceded
  */
 static int kvmppc_vcore_check_block(struct kvmppc_vcore *vc)
index fb21990..ebc6dd4 100644 (file)
@@ -449,7 +449,7 @@ TRACE_EVENT(kvmppc_vcore_wakeup,
                __entry->tgid   = current->tgid;
        ),
 
-       TP_printk("%s time %lld ns, tgid=%d",
+       TP_printk("%s time %llu ns, tgid=%d",
                __entry->waited ? "wait" : "poll",
                __entry->ns, __entry->tgid)
 );