qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel]  [PATCH] pci: fix identation
@ 2016-03-28  7:32 Marcel Apfelbaum
  2016-03-29 10:17 ` Igor Mammedov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Marcel Apfelbaum @ 2016-03-28  7:32 UTC (permalink / raw)
  To: qemu-devel; +Cc: marcel, qemu-trivial, mst

Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
---
 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)
-- 
2.4.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-05-29  7:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-28  7:32 [Qemu-devel] [PATCH] pci: fix identation Marcel Apfelbaum
2016-03-29 10:17 ` Igor Mammedov
2016-04-10  8:29 ` [Qemu-devel] [Qemu-trivial] " Marcel Apfelbaum
2016-05-29  7:23 ` [Qemu-devel] " Michael Tokarev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).