mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86/hvm: Drop hvm_sr_handlers initializer
This initializer is flawed and only sets .name of array entry 0 to a non-NULL string. Suggested-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Alexandru Isaila <aisaila@bitdefender.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
1 parent
5a5b8bfec3
commit
683b39b686
1 file changed
+1
-1
@@ -89,7 +89,7 @@ static struct {
|
||||
const char *name;
|
||||
size_t size;
|
||||
int kind;
|
||||
} hvm_sr_handlers[HVM_SAVE_CODE_MAX + 1] = { {NULL, NULL, "<?>"}, };
|
||||
} hvm_sr_handlers[HVM_SAVE_CODE_MAX + 1];
|
||||
|
||||
/* Init-time function to add entries to that list */
|
||||
void __init hvm_register_savevm(uint16_t typecode,
|
||||
|
||||