From patchwork Mon Mar 28 07:32:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Apfelbaum X-Patchwork-Id: 602414 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3qYQcT3j1pz9sDD for ; Mon, 28 Mar 2016 18:33:13 +1100 (AEDT) Received: from localhost ([::1]:39564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akRfj-0004P1-NL for incoming@patchwork.ozlabs.org; Mon, 28 Mar 2016 03:33:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akRfT-00043g-EL for qemu-devel@nongnu.org; Mon, 28 Mar 2016 03:32:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akRfP-0005JC-E7 for qemu-devel@nongnu.org; Mon, 28 Mar 2016 03:32:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akRfP-0005J4-9R; Mon, 28 Mar 2016 03:32:51 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 24A7AC049E17; Mon, 28 Mar 2016 07:32:50 +0000 (UTC) Received: from work.redhat.com (vpn-201-44.tlv.redhat.com [10.35.201.44]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2S7Wk55032234; Mon, 28 Mar 2016 03:32:47 -0400 From: Marcel Apfelbaum To: qemu-devel@nongnu.org Date: Mon, 28 Mar 2016 10:32:45 +0300 Message-Id: <1459150365-26233-1-git-send-email-marcel@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: marcel@redhat.com, qemu-trivial@nongnu.org, mst@redhat.com Subject: [Qemu-devel] [PATCH] pci: fix identation X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Marcel Apfelbaum Reviewed-by: Igor Mammedov --- hw/pci/pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/pci/pci.c b/hw/pci/pci.c index a1d41aa..da8b0b6 100644 --- a/hw/pci/pci.c +++ b/hw/pci/pci.c @@ -165,15 +165,15 @@ static inline int pci_irq_state(PCIDevice *d, int irq_num) { assert(irq_num >= 0); - return (d->irq_state >> irq_num) & 0x1; + return (d->irq_state >> irq_num) & 0x1; } static inline void pci_set_irq_state(PCIDevice *d, int irq_num, int level) { assert(irq_num >= 0); - d->irq_state &= ~(0x1 << irq_num); - d->irq_state |= level << irq_num; + d->irq_state &= ~(0x1 << irq_num); + d->irq_state |= level << irq_num; } static void pci_change_irq_level(PCIDevice *pci_dev, int irq_num, int change)