Patchwork [v4,01/39] memory: rename PORTIO_END to PORTIO_END_OF_LIST

login
register
mail settings
Submitter Avi Kivity
Date Aug. 8, 2011, 1:08 p.m.
Message ID <1312808972-1718-2-git-send-email-avi@redhat.com>
Download mbox | patch
Permalink /patch/108907/
State New
Headers show

Comments

Avi Kivity - Aug. 8, 2011, 1:08 p.m.
For consistency with other _END_OF_LIST macros.

Signed-off-by: Avi Kivity <avi@redhat.com>
---
 memory.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Anthony Liguori - Aug. 8, 2011, 3:12 p.m.
On 08/08/2011 08:08 AM, Avi Kivity wrote:
> For consistency with other _END_OF_LIST macros.
>
> Signed-off-by: Avi Kivity<avi@redhat.com>

Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>

Regards,

Anthony Liguori

> ---
>   memory.h |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/memory.h b/memory.h
> index 4e518b2..da00a3b 100644
> --- a/memory.h
> +++ b/memory.h
> @@ -133,7 +133,7 @@ struct MemoryRegionPortio {
>       IOPortWriteFunc *write;
>   };
>
> -#define PORTIO_END { }
> +#define PORTIO_END_OF_LIST() { }
>
>   /**
>    * memory_region_init: Initialize a memory region

Patch

diff --git a/memory.h b/memory.h
index 4e518b2..da00a3b 100644
--- a/memory.h
+++ b/memory.h
@@ -133,7 +133,7 @@  struct MemoryRegionPortio {
     IOPortWriteFunc *write;
 };
 
-#define PORTIO_END { }
+#define PORTIO_END_OF_LIST() { }
 
 /**
  * memory_region_init: Initialize a memory region