[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/4] hw/pci-host/prep: Update coding style to make checkpatch
From: |
Mark Cave-Ayland |
Subject: |
Re: [PATCH 1/4] hw/pci-host/prep: Update coding style to make checkpatch.pl happy |
Date: |
Mon, 12 Oct 2020 10:37:49 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 |
On 12/10/2020 08:19, Philippe Mathieu-Daudé wrote:
> To make the next commit easier to review, clean this code first.
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
> hw/pci-host/prep.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/hw/pci-host/prep.c b/hw/pci-host/prep.c
> index d0323fefb10..80dfb67da43 100644
> --- a/hw/pci-host/prep.c
> +++ b/hw/pci-host/prep.c
> @@ -234,8 +234,10 @@ static void raven_pcihost_realizefn(DeviceState *d,
> Error **errp)
> sysbus_init_irq(dev, &s->pci_irqs[i]);
> }
> } else {
> - /* According to PReP specification section 6.1.6 "System Interrupt
> - * Assignments", all PCI interrupts are routed via IRQ 15 */
> + /*
> + * According to PReP specification section 6.1.6 "System Interrupt
> + * Assignments", all PCI interrupts are routed via IRQ 15
> + */
> s->or_irq = OR_IRQ(object_new(TYPE_OR_IRQ));
> object_property_set_int(OBJECT(s->or_irq), "num-lines", PCI_NUM_PINS,
> &error_fatal);
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
ATB,
Mark.