From: Alexander Graf <agraf@suse.de>
To: anthony.perard@citrix.com
Cc: Xen Devel <xen-devel@lists.xensource.com>,
QEMU-devel <qemu-devel@nongnu.org>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [Qemu-devel] [PATCH] hw/piix_pci.c: Fix PIIX3-xen to initialize ids
Date: Thu, 30 Jun 2011 13:34:47 +0200 [thread overview]
Message-ID: <4E0C5F57.4060408@suse.de> (raw)
In-Reply-To: <1308758311-32692-1-git-send-email-anthony.perard@citrix.com>
On 06/22/2011 05:58 PM, anthony.perard@citrix.com wrote:
> From: Anthony PERARD<anthony.perard@citrix.com>
>
> Signed-off-by: Anthony PERARD<anthony.perard@citrix.com>
> ---
> hw/piix_pci.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/hw/piix_pci.c b/hw/piix_pci.c
> index 26ce904..d08b31a 100644
> --- a/hw/piix_pci.c
> +++ b/hw/piix_pci.c
> @@ -478,6 +478,9 @@ static PCIDeviceInfo i440fx_info[] = {
> .no_hotplug = 1,
> .init = piix3_initfn,
> .config_write = piix3_write_config_xen,
> + .vendor_id = PCI_VENDOR_ID_INTEL,
> + .device_id = PCI_DEVICE_ID_INTEL_82371SB_0, // 82371SB PIIX3 PCI-to-ISA bridge (Step A1)
> + .class_id = PCI_CLASS_BRIDGE_ISA,
> },{
> /* end of list */
> }
$ ./scripts/checkpatch.pl ~/patch-xen/anthony1/\[PATCH\]\
hw_piix_pci.c\:\ Fix\ PIIX3-xen\ to\ initialize\ ids.eml
WARNING: line over 80 characters
#70: FILE: hw/piix_pci.c:482:
+ .device_id = PCI_DEVICE_ID_INTEL_82371SB_0, // 82371SB PIIX3
PCI-to-ISA bridge (Step A1)
ERROR: do not use C99 // comments
#70: FILE: hw/piix_pci.c:482:
+ .device_id = PCI_DEVICE_ID_INTEL_82371SB_0, // 82371SB PIIX3
PCI-to-ISA bridge (Step A1)
total: 1 errors, 1 warnings, 9 lines checked
WARNING: multiple messages have this Message-ID (diff)
From: Alexander Graf <agraf@suse.de>
To: anthony.perard@citrix.com
Cc: Xen Devel <xen-devel@lists.xensource.com>,
QEMU-devel <qemu-devel@nongnu.org>,
Anthony Liguori <anthony@codemonkey.ws>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [PATCH] hw/piix_pci.c: Fix PIIX3-xen to initialize ids
Date: Thu, 30 Jun 2011 13:34:47 +0200 [thread overview]
Message-ID: <4E0C5F57.4060408@suse.de> (raw)
In-Reply-To: <1308758311-32692-1-git-send-email-anthony.perard@citrix.com>
On 06/22/2011 05:58 PM, anthony.perard@citrix.com wrote:
> From: Anthony PERARD<anthony.perard@citrix.com>
>
> Signed-off-by: Anthony PERARD<anthony.perard@citrix.com>
> ---
> hw/piix_pci.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/hw/piix_pci.c b/hw/piix_pci.c
> index 26ce904..d08b31a 100644
> --- a/hw/piix_pci.c
> +++ b/hw/piix_pci.c
> @@ -478,6 +478,9 @@ static PCIDeviceInfo i440fx_info[] = {
> .no_hotplug = 1,
> .init = piix3_initfn,
> .config_write = piix3_write_config_xen,
> + .vendor_id = PCI_VENDOR_ID_INTEL,
> + .device_id = PCI_DEVICE_ID_INTEL_82371SB_0, // 82371SB PIIX3 PCI-to-ISA bridge (Step A1)
> + .class_id = PCI_CLASS_BRIDGE_ISA,
> },{
> /* end of list */
> }
$ ./scripts/checkpatch.pl ~/patch-xen/anthony1/\[PATCH\]\
hw_piix_pci.c\:\ Fix\ PIIX3-xen\ to\ initialize\ ids.eml
WARNING: line over 80 characters
#70: FILE: hw/piix_pci.c:482:
+ .device_id = PCI_DEVICE_ID_INTEL_82371SB_0, // 82371SB PIIX3
PCI-to-ISA bridge (Step A1)
ERROR: do not use C99 // comments
#70: FILE: hw/piix_pci.c:482:
+ .device_id = PCI_DEVICE_ID_INTEL_82371SB_0, // 82371SB PIIX3
PCI-to-ISA bridge (Step A1)
total: 1 errors, 1 warnings, 9 lines checked
next prev parent reply other threads:[~2011-06-30 11:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-22 15:58 [Qemu-devel] [PATCH] hw/piix_pci.c: Fix PIIX3-xen to initialize ids anthony.perard
2011-06-22 15:58 ` anthony.perard
2011-06-22 17:43 ` [Qemu-devel] " Stefano Stabellini
2011-06-22 17:43 ` Stefano Stabellini
2011-06-22 17:48 ` [Qemu-devel] [Xen-devel] " Anthony PERARD
2011-06-22 17:48 ` Anthony PERARD
2011-06-22 18:00 ` [Qemu-devel] [Xen-devel] " Stefano Stabellini
2011-06-22 18:00 ` Stefano Stabellini
2011-06-30 11:34 ` Alexander Graf [this message]
2011-06-30 11:34 ` Alexander Graf
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=4E0C5F57.4060408@suse.de \
--to=agraf@suse.de \
--cc=anthony.perard@citrix.com \
--cc=qemu-devel@nongnu.org \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.