qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Igor Mammedov <imammedo@redhat.com>
To: Marcel Apfelbaum <marcel@redhat.com>
Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org, mst@redhat.com
Subject: Re: [Qemu-devel] [PATCH] pci: fix identation
Date: Tue, 29 Mar 2016 12:17:38 +0200	[thread overview]
Message-ID: <20160329121738.4dd0772e@nial.brq.redhat.com> (raw)
In-Reply-To: <1459150365-26233-1-git-send-email-marcel@redhat.com>

On Mon, 28 Mar 2016 10:32:45 +0300
Marcel Apfelbaum <marcel@redhat.com> wrote:

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

  reply	other threads:[~2016-03-29 10:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-28  7:32 [Qemu-devel] [PATCH] pci: fix identation Marcel Apfelbaum
2016-03-29 10:17 ` Igor Mammedov [this message]
2016-04-10  8:29 ` [Qemu-devel] [Qemu-trivial] " Marcel Apfelbaum
2016-05-29  7:23 ` [Qemu-devel] " Michael Tokarev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160329121738.4dd0772e@nial.brq.redhat.com \
    --to=imammedo@redhat.com \
    --cc=marcel@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).