diff mbox series

arm/smmuv3: Fix missing VMSD terminator

Message ID 20180727135406.15132-1-dgilbert@redhat.com
State New
Headers show
Series arm/smmuv3: Fix missing VMSD terminator | expand

Commit Message

Dr. David Alan Gilbert July 27, 2018, 1:54 p.m. UTC
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>

The 'vmstate_smmuv3_queue' is missing the end-of-list marker.

Fixes: 10a83cb9887
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
---
 hw/arm/smmuv3.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Peter Maydell July 30, 2018, 1:46 p.m. UTC | #1
On 27 July 2018 at 14:54, Dr. David Alan Gilbert (git)
<dgilbert@redhat.com> wrote:
> From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
>
> The 'vmstate_smmuv3_queue' is missing the end-of-list marker.
>
> Fixes: 10a83cb9887
> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
> ---
>  hw/arm/smmuv3.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/hw/arm/smmuv3.c b/hw/arm/smmuv3.c
> index 39fbcbf577..40a86c1895 100644
> --- a/hw/arm/smmuv3.c
> +++ b/hw/arm/smmuv3.c
> @@ -1414,6 +1414,8 @@ static const VMStateDescription vmstate_smmuv3_queue = {
>          VMSTATE_UINT32(prod, SMMUQueue),
>          VMSTATE_UINT32(cons, SMMUQueue),
>          VMSTATE_UINT8(log2size, SMMUQueue),
> +
> +        VMSTATE_END_OF_LIST(),
>      },
>  };

Thanks, applied to target-arm.next for 3.0. (I dropped the extra
blank line.)

-- PMM
diff mbox series

Patch

diff --git a/hw/arm/smmuv3.c b/hw/arm/smmuv3.c
index 39fbcbf577..40a86c1895 100644
--- a/hw/arm/smmuv3.c
+++ b/hw/arm/smmuv3.c
@@ -1414,6 +1414,8 @@  static const VMStateDescription vmstate_smmuv3_queue = {
         VMSTATE_UINT32(prod, SMMUQueue),
         VMSTATE_UINT32(cons, SMMUQueue),
         VMSTATE_UINT8(log2size, SMMUQueue),
+
+        VMSTATE_END_OF_LIST(),
     },
 };