x86/memshr: Fix build in copy_vcpu_settings()
PATCH 1/1 x86/memshr: Fix build in copy_vcpu_settings()
The last user of this variable was dropped.
---
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Wei Liu <[email protected]>
CC: Tamas K Lengyel <[email protected]>
CC: Henry Wang <[email protected]>
I expect Gitlab randconfig to find this eventually, but it does depend on CONFIG_MEM_SHARING being active to manifest.
--- xen/arch/x86/mm/mem_sharing.c | 1 - 1 file changed, 1 deletion(-)
xen/arch/x86/mm/mem_sharing.c +0 -1
@@ -1706,7 +1706,6 @@ static int copy_vcpu_settings(struct domain *cd, const struct domain *d) {unsigned int i;int ret = -EINVAL ; -mfn_t vcpu_info_mfn;for ( i =0 ; i < cd->max_vcpus; i++ ) {
Signature · 1 line
2.30.2
Hi Andrew,
Quoted 6 lines · Andrew Cooper
The last user of this variable was dropped.
Fixes 295514ff7550 ("common: convert vCPU info area registration")Signed-off-by Andrew Cooper <[email protected]>
Kind regards,
Henry
Quoted 28 lines
---
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Wei Liu <[email protected]>
CC: Tamas K Lengyel <[email protected]>
CC: Henry Wang <[email protected]>I expect Gitlab randconfig to find this eventually, but it does depend on
CONFIG_MEM_SHARINGbeing active to manifest.
---xen/arch/x86/mm/mem_sharing.c| 1 -1 file changed, 1 deletion(-)xen/arch/x86/mm/mem_sharing.c +0
-1@@ -1706,7 +1706,6 @@ static int copy_vcpu_settings(struct domain *cd, const struct domain *d) {unsigned int i;int ret = -EINVAL ; -mfn_t vcpu_info_mfn;for ( i =0 ; i < cd->max_vcpus; i++ ) {Signature · 1 line
2.30.2
Quoted 4 lines · Andrew Cooper
The last user of this variable was dropped.
Fixes 295514ff7550 ("common: convert vCPU info area registration")Signed-off-by Andrew Cooper <[email protected]>
Thanks for noticing this.