Skip to contentSkip to conversation

coding style fix

PATCH In review Andrii Anisov 2 participants 2 messages Sep 11, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 coding style fix

From: Andrii Anisov <[email protected]>

---
 xen/common/domain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/common/domain.c +1 -1
index 78c450e..aec10a7 100644
@@ -155,7 +155,7 @@ struct vcpu *alloc_vcpu(
     }
     else
     {
-        v->runstate.state = RUNSTATE_offline;        
+        v->runstate.state = RUNSTATE_offline;
         v->runstate.state_entry_time = NOW();
         set_bit(_VPF_down, &v->pause_flags);
         vcpu_info_reset(v);
Signature · 7 lines
2.7.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#1 lore raw

Hi,

A more meaningful title would be:

"xen/domain: Remove trailing whitespace"

This would help to understand...

Quoted 12 lines · Andrii Anisov

From: Andrii Anisov <[email protected]>

---
  xen/common/domain.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
xen/common/domain.c +0 -0
index 78c450e..aec10a7 100644

xen/common/domain.c struct vcpu *alloc_vcpu( · line 158

Quoted 5 lines
xen/common/domain.c +1 -1
@@ -155,7 +155,7 @@ struct vcpu *alloc_vcpu(
      }
      else
      {
-        v->runstate.state = RUNSTATE_offline;
+        v->runstate.state = RUNSTATE_offline;

... this change quicker.

xen/common/domain.c struct vcpu *alloc_vcpu( · line 161

Quoted 4 lines
xen/common/domain.c +0 -0
          v->runstate.state_entry_time = NOW();
          set_bit(_VPF_down, &v->pause_flags);
          vcpu_info_reset(v);

Cheers,

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel