Skip to contentSkip to conversation

arm/smmuv3: Fix missing VMSD terminator

PATCH Applied Dr. David Alan Gilbert (git) 2 participants 2 messages Jul 27, 2018 – Jul 30, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm/smmuv3: Fix missing VMSD terminator

From: "Dr. David Alan Gilbert" <[email protected]>

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

Fixes 10a83cb9887
---
 hw/arm/smmuv3.c | 2 ++
 1 file changed, 2 insertions(+)
hw/arm/smmuv3.c +2 -0
index 39fbcbf577..40a86c1895 100644
@@ -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(),
     },
 };
 
Signature · 1 line
2.17.1
#1 lore raw
Quoted 15 lines · Dr. David Alan Gilbert (git)

From: "Dr. David Alan Gilbert" <[email protected]>

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

Fixes 10a83cb9887
---
 hw/arm/smmuv3.c | 2 ++
 1 file changed, 2 insertions(+)
hw/arm/smmuv3.c +0 -0
index 39fbcbf577..40a86c1895 100644

hw/arm/smmuv3.c static const VMStateDescription vmstate_smmuv3_queue = { · line 1420

Quoted 7 lines
hw/arm/smmuv3.c +2 -0
@@ -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