From patchwork Fri Oct 14 00:53:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suraj Jitindar Singh X-Patchwork-Id: 9375983 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 183BB60839 for ; Fri, 14 Oct 2016 00:55:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0CD442A243 for ; Fri, 14 Oct 2016 00:55:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 015892A24F; Fri, 14 Oct 2016 00:55:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A70D32A243 for ; Fri, 14 Oct 2016 00:55:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756876AbcJNAy4 (ORCPT ); Thu, 13 Oct 2016 20:54:56 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:34297 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753959AbcJNAyv (ORCPT ); Thu, 13 Oct 2016 20:54:51 -0400 Received: by mail-pf0-f196.google.com with SMTP id 128so6055427pfz.1; Thu, 13 Oct 2016 17:54:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=5bPP7gB1Bpay/9blskfS+7z+iuWyJJVEhfb7w+IFaQI=; b=pfIq9VGty+a/BR6aHKYeSLEo4vIng5mtx8ln91Q/ZJ7TPQRJLE0uAL1i0zjpchrPkt yPwWUeTGniTqKUp2HwUn+YbJAirDfYlmgFkORGtDUmfgR/gRHQQR+EgdR498EiNdLomi P6h4aAkf6omuyT+8zGlhiA+2nXkEcu/veJ2OHdQDseZoMZP3cNqo+oek11vZXDli7wcf t5/791nmyrc0R/CoJTU0sfPXlylL93KUZI63onCZn9IGycjzCFseZrl9RyjzbLEBJC4u 0bp7JuzdAdqjd+EypcUZ06Essc+xBobMyHm6dW9VwwPmIIDoHJTx/OQSqVq4HUnD0ygJ 9jMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=5bPP7gB1Bpay/9blskfS+7z+iuWyJJVEhfb7w+IFaQI=; b=m7LbOGi5KRO1QiElg5ozkCJnWbZhFrhBjxmPvsE/n3I2IauH1AG1Z4WatKJvQssqmi UPEjjNW2YrSvIK37YWJFl7oUQAnTdDt1J5yeWVi71XE2N6FbqJzkoBVLkpLkfKPsh1/Q FgI4OL+hmHZxU3exqm6SJHR0SoELrIEtmh8IZ8Gt/LJbt6FoWLy1LW9V3JB3deki81KX nAcwDqdr40Ij599gW4PdPG52ppMl3GDjE1MIEHv0c1ZHbrJzUn4iqOuXZEf0dbr5Vl/p SeQlfPn1lC9Zaf7r6z8KjuZAfYRNDcQTN2mfQc5AdSABQLwShRfORDgAS58vKTocP7Lt B0nQ== X-Gm-Message-State: AA6/9Rn0PKvuZlRC12R5agwO8I26LFRJ1VYBC0PTIa8ryB1dcHbDNVOPQ0Q55y4PrPpasw== X-Received: by 10.98.79.153 with SMTP id f25mr14009447pfj.169.1476406443522; Thu, 13 Oct 2016 17:54:03 -0700 (PDT) Received: from dyn253.ozlabs.ibm.com ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id f2sm22285272pfj.68.2016.10.13.17.53.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Oct 2016 17:54:03 -0700 (PDT) From: Suraj Jitindar Singh To: pbonzini@redhat.com, rkrcmar@redhat.com, agraf@suse.com, corbet@lwn.net Cc: paulus@samba.org, mpe@ellerman.id.au, sam.bobroff@au1.ibm.com, kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, benh@kernel.crashing.org, linux-doc@vger.kernel.org, Suraj Jitindar Singh Subject: [PATCH 5/6] powerpc/kvm: Comment style and print format fixups Date: Fri, 14 Oct 2016 11:53:23 +1100 Message-Id: <1476406404-32752-6-git-send-email-sjitindarsingh@gmail.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1476406404-32752-1-git-send-email-sjitindarsingh@gmail.com> References: <1476406404-32752-1-git-send-email-sjitindarsingh@gmail.com> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix comment block to match kernel comment style. Fix print format from signed to unsigned. Signed-off-by: Suraj Jitindar Singh --- arch/powerpc/kvm/book3s_hv.c | 3 ++- arch/powerpc/kvm/trace_hv.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kvm/book3s_hv.c b/arch/powerpc/kvm/book3s_hv.c index 6503a63..431950d 100644 --- a/arch/powerpc/kvm/book3s_hv.c +++ b/arch/powerpc/kvm/book3s_hv.c @@ -2536,7 +2536,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) diff --git a/arch/powerpc/kvm/trace_hv.h b/arch/powerpc/kvm/trace_hv.h index fb21990..ebc6dd4 100644 --- a/arch/powerpc/kvm/trace_hv.h +++ b/arch/powerpc/kvm/trace_hv.h @@ -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) );