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: 8678431 Return-Path: X-Original-To: patchwork-qemu-devel@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 7EE70C0553 for ; Mon, 28 Mar 2016 07:33:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E83C020218 for ; Mon, 28 Mar 2016 07:33:04 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 4B12A20204 for ; Mon, 28 Mar 2016 07:33:04 +0000 (UTC) Received: from localhost ([::1]:39562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akRfb-00043n-J8 for patchwork-qemu-devel@patchwork.kernel.org; Mon, 28 Mar 2016 03:33:03 -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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable 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 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)