QEMU-Devel Archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2] pci_add_capability: remove duplicate comments
@ 2015-07-14  8:16 Chen Hanxiao
  2015-07-20 10:51 ` Chen, Hanxiao
  0 siblings, 1 reply; 2+ messages in thread
From: Chen Hanxiao @ 2015-07-14  8:16 UTC (permalink / raw
  To: Michael S. Tsirkin, qemu-devel

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
---
 hw/pci/pci.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/hw/pci/pci.c b/hw/pci/pci.c
index 442f822..a017614 100644
--- a/hw/pci/pci.c
+++ b/hw/pci/pci.c
@@ -2101,12 +2101,10 @@ static void pci_del_option_rom(PCIDevice *pdev)
 }
 
 /*
- * if !offset
- * Reserve space and add capability to the linked list in pci config space
- *
  * if offset = 0,
  * Find and reserve space and add capability to the linked list
- * in pci config space */
+ * in pci config space
+ */
 int pci_add_capability(PCIDevice *pdev, uint8_t cap_id,
                        uint8_t offset, uint8_t size)
 {
-- 
2.1.0

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

* Re: [Qemu-devel] [PATCH v2] pci_add_capability: remove duplicate comments
  2015-07-14  8:16 [Qemu-devel] [PATCH v2] pci_add_capability: remove duplicate comments Chen Hanxiao
@ 2015-07-20 10:51 ` Chen, Hanxiao
  0 siblings, 0 replies; 2+ messages in thread
From: Chen, Hanxiao @ 2015-07-20 10:51 UTC (permalink / raw
  To: Michael S. Tsirkin; +Cc: qemu-devel@nongnu.org



> -----Original Message-----
> From: qemu-devel-bounces+chenhanxiao=cn.fujitsu.com@nongnu.org
> [mailto:qemu-devel-bounces+chenhanxiao=cn.fujitsu.com@nongnu.org] On Behalf Of
> Chen Hanxiao
> Sent: Tuesday, July 14, 2015 4:16 PM
> To: Michael S. Tsirkin; qemu-devel@nongnu.org
> Subject: [Qemu-devel] [PATCH v2] pci_add_capability: remove duplicate comments
> 
> Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
> ---
>  hw/pci/pci.c | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/hw/pci/pci.c b/hw/pci/pci.c
> index 442f822..a017614 100644
> --- a/hw/pci/pci.c
> +++ b/hw/pci/pci.c
> @@ -2101,12 +2101,10 @@ static void pci_del_option_rom(PCIDevice *pdev)
>  }
> 
>  /*
> - * if !offset
> - * Reserve space and add capability to the linked list in pci config space
> - *
>   * if offset = 0,
>   * Find and reserve space and add capability to the linked list
> - * in pci config space */
> + * in pci config space
> + */
>  int pci_add_capability(PCIDevice *pdev, uint8_t cap_id,
>                         uint8_t offset, uint8_t size)
>  {
> --
> 2.1.0
> 

ping

Regards,
- Chen

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

end of thread, other threads:[~2015-07-20 10:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-14  8:16 [Qemu-devel] [PATCH v2] pci_add_capability: remove duplicate comments Chen Hanxiao
2015-07-20 10:51 ` Chen, Hanxiao

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 read-only IMAP folder(s) and NNTP newsgroup(s).