Skip to contentSkip to conversation

arm/irq: replace an odd tab with spaces

PATCH In review Andrii Anisov 3 participants 4 messages Nov 16, 2018 – Nov 28, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/2 arm/irq: replace an odd tab with spaces

From: Andrii Anisov <[email protected]>

---
 xen/arch/arm/irq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/arm/irq.c +1 -1
index 098281f..d5ad277 100644
@@ -224,7 +224,7 @@ void do_IRQ(struct cpu_user_regs *regs, unsigned int irq, int is_fiq)
         /*
          * The irq cannot be a PPI, we only support delivery of SPIs to
          * guests.
-	 */
+         */
         vgic_inject_irq(info->d, NULL, info->virq, true);
         goto out_no_end;
     }
Signature · 7 lines
2.7.4


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

Hi,

Please provide a cover letter when you send multiple patches together.

Quoted 3 lines · Andrii Anisov

From: Andrii Anisov <[email protected]>

Quoted 10 lines
---
  xen/arch/arm/irq.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/arm/irq.c +0 -0
index 098281f..d5ad277 100644

xen/arch/arm/irq.c void do_IRQ(struct cpu_user_regs *regs, unsigned int irq, int is_fiq) · line 230

Quoted 8 lines
xen/arch/arm/irq.c +1 -1
@@ -224,7 +224,7 @@ void do_IRQ(struct cpu_user_regs *regs, unsigned int irq, int is_fiq)
          /*
           * The irq cannot be a PPI, we only support delivery of SPIs to
           * guests.
-	 */
+         */
          vgic_inject_irq(info->d, NULL, info->virq, true);
          goto out_no_end;
      }

Cheers,

Signature · 6 lines
Julien Grall

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

PATCH 2/2 arm/irq: Fix block parathenses and whitespaces

In reply to a message not in the archive

From: Andrii Anisov <[email protected]>

---
 xen/arch/arm/irq.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
xen/arch/arm/irq.c +8 -4
index d5ad277..d6a0273 100644
@@ -61,7 +61,9 @@ static DEFINE_PER_CPU(irq_desc_t[NR_LOCAL_IRQS], local_irq_desc);
 
 irq_desc_t *__irq_to_desc(int irq)
 {
-    if (irq < NR_LOCAL_IRQS) return &this_cpu(local_irq_desc)[irq];
+    if ( irq < NR_LOCAL_IRQS )
+        return &this_cpu(local_irq_desc)[irq];
+
     return &irq_desc[irq-NR_LOCAL_IRQS];
 }
 
@@ -76,7 +78,8 @@ static int __init init_irq_data(void)
 {
     int irq;
 
-    for (irq = NR_LOCAL_IRQS; irq < NR_IRQS; irq++) {
+    for ( irq = NR_LOCAL_IRQS; irq < NR_IRQS; irq++ )
+    {
         struct irq_desc *desc = irq_to_desc(irq);
         init_one_irq_desc(desc);
         desc->irq = irq;
@@ -92,7 +95,8 @@ static int init_local_irq_data(void)
 
     spin_lock(&local_irqs_type_lock);
 
-    for (irq = 0; irq < NR_LOCAL_IRQS; irq++) {
+    for ( irq = 0; irq < NR_LOCAL_IRQS; irq++ )
+    {
         struct irq_desc *desc = irq_to_desc(irq);
         init_one_irq_desc(desc);
         desc->irq = irq;
@@ -193,7 +197,7 @@ void do_IRQ(struct cpu_user_regs *regs, unsigned int irq, int is_fiq)
 
     ASSERT(irq >= 16); /* SGIs do not come down this path */
 
-    if (irq < 32)
+    if ( irq < 32 )
         perfc_incr(ppis);
     else
         perfc_incr(spis);
Signature · 7 lines
2.7.4


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

Re: [PATCH 2/2] arm/irq: Fix block parathenses and whitespaces

Quoted 3 lines · Andrii Anisov

From: Andrii Anisov <[email protected]>

Quoted 51 lines
---
 xen/arch/arm/irq.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
xen/arch/arm/irq.c +8 -4
index d5ad277..d6a0273 100644
@@ -61,7 +61,9 @@ static DEFINE_PER_CPU(irq_desc_t[NR_LOCAL_IRQS], local_irq_desc);
 
 irq_desc_t *__irq_to_desc(int irq)
 {
-    if (irq < NR_LOCAL_IRQS) return &this_cpu(local_irq_desc)[irq];
+    if ( irq < NR_LOCAL_IRQS )
+        return &this_cpu(local_irq_desc)[irq];
+
     return &irq_desc[irq-NR_LOCAL_IRQS];
 }
 
@@ -76,7 +78,8 @@ static int __init init_irq_data(void)
 {
     int irq;
 
-    for (irq = NR_LOCAL_IRQS; irq < NR_IRQS; irq++) {
+    for ( irq = NR_LOCAL_IRQS; irq < NR_IRQS; irq++ )
+    {
         struct irq_desc *desc = irq_to_desc(irq);
         init_one_irq_desc(desc);
         desc->irq = irq;
@@ -92,7 +95,8 @@ static int init_local_irq_data(void)
 
     spin_lock(&local_irqs_type_lock);
 
-    for (irq = 0; irq < NR_LOCAL_IRQS; irq++) {
+    for ( irq = 0; irq < NR_LOCAL_IRQS; irq++ )
+    {
         struct irq_desc *desc = irq_to_desc(irq);
         init_one_irq_desc(desc);
         desc->irq = irq;
@@ -193,7 +197,7 @@ void do_IRQ(struct cpu_user_regs *regs, unsigned int irq, int is_fiq)
 
     ASSERT(irq >= 16); /* SGIs do not come down this path */
 
-    if (irq < 32)
+    if ( irq < 32 )
         perfc_incr(ppis);
     else
         perfc_incr(spis);
Signature · 1 line
2.7.4

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