Skip to contentSkip to conversation

virt: Fix broken indentation

PATCH In review Eduardo Habkost 3 participants 3 messages Dec 12, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 virt: Fix broken indentation

I introduced indentation using tabs instead of spaces in another commit. Peter reported the problem, and I failed to fix that before sending my pull request.

Fixes 951597607696 ("virt: Eliminate separate instance_init functions")
---
 hw/arm/virt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/virt.c +1 -1
index 17f1b49d11..5b678237b7 100644
@@ -1854,7 +1854,7 @@ static const TypeInfo virt_machine_info = {
     .instance_size = sizeof(VirtMachineState),
     .class_size    = sizeof(VirtMachineClass),
     .class_init    = virt_machine_class_init,
-	.instance_init = virt_instance_init,
+    .instance_init = virt_instance_init,
     .interfaces = (InterfaceInfo[]) {
          { TYPE_HOTPLUG_HANDLER },
          { }
Signature · 1 line
2.18.0.rc1.1.g3f1ff2140
Reviewed-by on v1 1/1
#1 lore raw
Quoted 17 lines · Eduardo Habkost

I introduced indentation using tabs instead of spaces in another commit. Peter reported the problem, and I failed to fix that before sending my pull request.

Fixes 951597607696 ("virt: Eliminate separate instance_init functions")
---
 hw/arm/virt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/virt.c +0 -0
index 17f1b49d11..5b678237b7 100644

hw/arm/virt.c static const TypeInfo virt_machine_info = { · line 1860

Quoted 8 lines
hw/arm/virt.c +1 -1
@@ -1854,7 +1854,7 @@ static const TypeInfo virt_machine_info = {
     .instance_size = sizeof(VirtMachineState),
     .class_size    = sizeof(VirtMachineClass),
     .class_init    = virt_machine_class_init,
-	.instance_init = virt_instance_init,
+    .instance_init = virt_instance_init,
     .interfaces = (InterfaceInfo[]) {
          { TYPE_HOTPLUG_HANDLER },
          { }
Reviewed-by on v1 1/1
#2 lore raw
In reply to Eduardo Habkost
Quoted 7 lines · Eduardo Habkost

I introduced indentation using tabs instead of spaces in another commit. Peter reported the problem, and I failed to fix that before sending my pull request.

Fixes 951597607696 ("virt: Eliminate separate instance_init functions")
Quoted 18 lines
---
 hw/arm/virt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/virt.c +1 -1
index 17f1b49d11..5b678237b7 100644
@@ -1854,7 +1854,7 @@ static const TypeInfo virt_machine_info = {
     .instance_size = sizeof(VirtMachineState),
     .class_size    = sizeof(VirtMachineClass),
     .class_init    = virt_machine_class_init,
-	.instance_init = virt_instance_init,
+    .instance_init = virt_instance_init,
     .interfaces = (InterfaceInfo[]) {
          { TYPE_HOTPLUG_HANDLER },
          { }