diff mbox

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

Message ID 1312808972-1718-2-git-send-email-avi@redhat.com
State New
Headers show

Commit Message

Avi Kivity Aug. 8, 2011, 1:08 p.m. UTC
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(-)

Comments

Anthony Liguori Aug. 8, 2011, 3:12 p.m. UTC | #1
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
diff mbox

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