Skip to contentSkip to conversation

xen: Drop repeated semicolons

PATCH In review Andrew Cooper 4 participants 4 messages Jul 25, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen: Drop repeated semicolons

No functional change.

---
CC: George Dunlap <[email protected]>
CC: Ian Jackson <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Konrad Rzeszutek Wilk <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Tim Deegan <[email protected]>
CC: Wei Liu <[email protected]>

---
 xen/arch/arm/mm.c      | 2 +-
 xen/arch/x86/hvm/rtc.c | 6 +++---
 xen/common/domctl.c    | 2 +-
 xen/common/schedule.c  | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)
xen/arch/arm/mm.c +1 -1
index 98260f6..a810a05 100644
@@ -278,7 +278,7 @@ static inline lpae_t mfn_to_xen_entry(mfn_t mfn, unsigned attr)
             .contig = 0,          /* Assume non-contiguous */
             .xn = 1,              /* No need to execute outside .text */
             .avail = 0,           /* Reference count for domheap mapping */
-        }};;
+        }};
     /*
      * Setting the User bit is strange, but the ATS1H[RW] instructions
      * don't seem to work otherwise, and since we never run on Xen
xen/arch/x86/hvm/rtc.c +3 -3
index 4d792a4..bcfa169 100644
@@ -730,9 +730,9 @@ void rtc_migrate_timers(struct vcpu *v)
 
     if ( v->vcpu_id == 0 )
     {
-        migrate_timer(&s->update_timer, v->processor);;
-        migrate_timer(&s->update_timer2, v->processor);;
-        migrate_timer(&s->alarm_timer, v->processor);;
+        migrate_timer(&s->update_timer, v->processor);
+        migrate_timer(&s->update_timer2, v->processor);
+        migrate_timer(&s->alarm_timer, v->processor);
     }
 }
 
xen/common/domctl.c +1 -1
index dfa3df9..d80488b 100644
@@ -703,7 +703,7 @@ long do_domctl(XEN_GUEST_HANDLE_PARAM(xen_domctl_t) u_domctl)
         if ( op->cmd == XEN_DOMCTL_setvcpuaffinity )
         {
             cpumask_var_t new_affinity, old_affinity;
-            cpumask_t *online = cpupool_domain_cpumask(v->domain);;
+            cpumask_t *online = cpupool_domain_cpumask(v->domain);
 
             /*
              * We want to be able to restore hard affinity if we are trying
xen/common/schedule.c +1 -1
index 1058e19..e83f4c7 100644
@@ -700,7 +700,7 @@ void restore_vcpu_affinity(struct domain *d)
                     cpupool_domain_cpumask(v->domain));
         v->processor = cpumask_any(cpumask_scratch_cpu(cpu));
 
-        spin_unlock_irq(lock);;
+        spin_unlock_irq(lock);
 
         lock = vcpu_schedule_lock_irq(v);
         v->processor = SCHED_OP(vcpu_scheduler(v), pick_cpu, v);
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Acked-by on v1 1/1
#1 lore raw

Hi Andrew,

Quoted 3 lines · Andrew Cooper

No functional change.

Cheers,

Quoted 73 lines

---
CC: George Dunlap <[email protected]>
CC: Ian Jackson <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Konrad Rzeszutek Wilk <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Tim Deegan <[email protected]>
CC: Wei Liu <[email protected]>

---
 xen/arch/arm/mm.c      | 2 +-
 xen/arch/x86/hvm/rtc.c | 6 +++---
 xen/common/domctl.c    | 2 +-
 xen/common/schedule.c  | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)
xen/arch/arm/mm.c +1 -1
index 98260f6..a810a05 100644
@@ -278,7 +278,7 @@ static inline lpae_t mfn_to_xen_entry(mfn_t mfn, unsigned attr)
             .contig = 0,          /* Assume non-contiguous */
             .xn = 1,              /* No need to execute outside .text */
             .avail = 0,           /* Reference count for domheap mapping */
-        }};;
+        }};
     /*
      * Setting the User bit is strange, but the ATS1H[RW] instructions
      * don't seem to work otherwise, and since we never run on Xen
xen/arch/x86/hvm/rtc.c +3 -3
index 4d792a4..bcfa169 100644
@@ -730,9 +730,9 @@ void rtc_migrate_timers(struct vcpu *v)
 
     if ( v->vcpu_id == 0 )
     {
-        migrate_timer(&s->update_timer, v->processor);;
-        migrate_timer(&s->update_timer2, v->processor);;
-        migrate_timer(&s->alarm_timer, v->processor);;
+        migrate_timer(&s->update_timer, v->processor);
+        migrate_timer(&s->update_timer2, v->processor);
+        migrate_timer(&s->alarm_timer, v->processor);
     }
 }
 
xen/common/domctl.c +1 -1
index dfa3df9..d80488b 100644
@@ -703,7 +703,7 @@ long do_domctl(XEN_GUEST_HANDLE_PARAM(xen_domctl_t) u_domctl)
         if ( op->cmd == XEN_DOMCTL_setvcpuaffinity )
         {
             cpumask_var_t new_affinity, old_affinity;
-            cpumask_t *online = cpupool_domain_cpumask(v->domain);;
+            cpumask_t *online = cpupool_domain_cpumask(v->domain);
 
             /*
              * We want to be able to restore hard affinity if we are trying
xen/common/schedule.c +1 -1
index 1058e19..e83f4c7 100644
@@ -700,7 +700,7 @@ void restore_vcpu_affinity(struct domain *d)
                     cpupool_domain_cpumask(v->domain));
         v->processor = cpumask_any(cpumask_scratch_cpu(cpu));
 
-        spin_unlock_irq(lock);;
+        spin_unlock_irq(lock);
 
         lock = vcpu_schedule_lock_irq(v);
         v->processor = SCHED_OP(vcpu_scheduler(v), pick_cpu, v);
Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Reviewed-by on v1 1/1
#2 lore raw
In reply to Andrew Cooper
Quoted 3 lines · Andrew Cooper

No functional change.

Quoted 75 lines

---
CC: George Dunlap <[email protected]>
CC: Ian Jackson <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Konrad Rzeszutek Wilk <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Tim Deegan <[email protected]>
CC: Wei Liu <[email protected]>

---
 xen/arch/arm/mm.c      | 2 +-
 xen/arch/x86/hvm/rtc.c | 6 +++---
 xen/common/domctl.c    | 2 +-
 xen/common/schedule.c  | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)
xen/arch/arm/mm.c +1 -1
index 98260f6..a810a05 100644
@@ -278,7 +278,7 @@ static inline lpae_t mfn_to_xen_entry(mfn_t mfn, unsigned attr)
             .contig = 0,          /* Assume non-contiguous */
             .xn = 1,              /* No need to execute outside .text */
             .avail = 0,           /* Reference count for domheap mapping */
-        }};;
+        }};
     /*
      * Setting the User bit is strange, but the ATS1H[RW] instructions
      * don't seem to work otherwise, and since we never run on Xen
xen/arch/x86/hvm/rtc.c +3 -3
index 4d792a4..bcfa169 100644
@@ -730,9 +730,9 @@ void rtc_migrate_timers(struct vcpu *v)
 
     if ( v->vcpu_id == 0 )
     {
-        migrate_timer(&s->update_timer, v->processor);;
-        migrate_timer(&s->update_timer2, v->processor);;
-        migrate_timer(&s->alarm_timer, v->processor);;
+        migrate_timer(&s->update_timer, v->processor);
+        migrate_timer(&s->update_timer2, v->processor);
+        migrate_timer(&s->alarm_timer, v->processor);
     }
 }
 
xen/common/domctl.c +1 -1
index dfa3df9..d80488b 100644
@@ -703,7 +703,7 @@ long do_domctl(XEN_GUEST_HANDLE_PARAM(xen_domctl_t) u_domctl)
         if ( op->cmd == XEN_DOMCTL_setvcpuaffinity )
         {
             cpumask_var_t new_affinity, old_affinity;
-            cpumask_t *online = cpupool_domain_cpumask(v->domain);;
+            cpumask_t *online = cpupool_domain_cpumask(v->domain);
 
             /*
              * We want to be able to restore hard affinity if we are trying
xen/common/schedule.c +1 -1
index 1058e19..e83f4c7 100644
@@ -700,7 +700,7 @@ void restore_vcpu_affinity(struct domain *d)
                     cpupool_domain_cpumask(v->domain));
         v->processor = cpumask_any(cpumask_scratch_cpu(cpu));
 
-        spin_unlock_irq(lock);;
+        spin_unlock_irq(lock);
 
         lock = vcpu_schedule_lock_irq(v);
         v->processor = SCHED_OP(vcpu_scheduler(v), pick_cpu, v);
Signature · 1 line
2.1.4

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