From patchwork Fri Feb 20 13:21:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Mulvey X-Patchwork-Id: 5855991 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1CEE1BF6C3 for ; Fri, 20 Feb 2015 13:23:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 50BA42037A for ; Fri, 20 Feb 2015 13:23:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 84F4C2037C for ; Fri, 20 Feb 2015 13:23:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754431AbbBTNXW (ORCPT ); Fri, 20 Feb 2015 08:23:22 -0500 Received: from mail-qc0-f180.google.com ([209.85.216.180]:36889 "EHLO mail-qc0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754406AbbBTNXU (ORCPT ); Fri, 20 Feb 2015 08:23:20 -0500 Received: by qcrw7 with SMTP id w7so538705qcr.4 for ; Fri, 20 Feb 2015 05:23:19 -0800 (PST) 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=8Hmbgh24QyAJ38SJB/ieGAmDbQ+xKS3N6/OFjKbW3U8=; b=m9LKGjr57hxb8M3SY/2w9o5DJXh3XrdM5ii8lzVZOvP/wx40Kov5IC1bCJ9dD+mdSQ T5Q5ZL5VQldnXGeckKrxdYqsgPiNVHiigZ6W02+lDkf17FZV4k8ZedJJg+OYQgvGRL2R KVuXGpuQ6Ien2i7DaJEE/iLoPpFi/u2O6mC62dBtdbzL7xvz5jgO0Ou5xzo/dhiMDKW9 4r76ZqMaKH3L6hzIEo+DYfniOzHed/Apnc8k7uZmBpnHSHSRDlcRqNjnzeEilvaEvxXX qYHBQN3e3eaOo3hI3SGecg+Kn6sCZu4jrkIOMipu+zvxQm9GDHL0I8l6uvi42uFEvvoy 7R9w== X-Gm-Message-State: ALoCoQnulbgaQ5w5bl64Iedh5xgKzspFSKXalbXw8wAV9OtfTNlRLmEe42MubnIVwOTARlShlsjc X-Received: by 10.140.42.83 with SMTP id b77mr22960328qga.43.1424438599652; Fri, 20 Feb 2015 05:23:19 -0800 (PST) Received: from deepthought.localdomain (cpe-184-153-87-151.nyc.res.rr.com. [184.153.87.151]) by mx.google.com with ESMTPSA id g34sm21110172qgd.0.2015.02.20.05.23.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Feb 2015 05:23:19 -0800 (PST) From: Kevin Mulvey X-Google-Original-From: Kevin Mulvey To: Gleb Natapov , Paolo Bonzini , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Kevin Mulvey Subject: [PATCH 2/2] [PATCH] fix checkpatch.pl errors in kvm/irqchip.c Date: Fri, 20 Feb 2015 08:21:37 -0500 Message-Id: <1424438497-9840-2-git-send-email-kmulvey@linux.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1424438497-9840-1-git-send-email-kmulvey@linux.com> References: <1424438497-9840-1-git-send-email-kmulvey@linux.com> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix whitespace around while Signed-off-by: Kevin Mulvey --- virt/kvm/irqchip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virt/kvm/irqchip.c b/virt/kvm/irqchip.c index 7f256f3..1d56a90 100644 --- a/virt/kvm/irqchip.c +++ b/virt/kvm/irqchip.c @@ -105,7 +105,7 @@ int kvm_set_irq(struct kvm *kvm, int irq_source_id, u32 irq, int level, i = kvm_irq_map_gsi(kvm, irq_set, irq); srcu_read_unlock(&kvm->irq_srcu, idx); - while(i--) { + while (i--) { int r; r = irq_set[i].set(&irq_set[i], kvm, irq_source_id, level, line_status);