Skip to contentSkip to conversation

staging: netlogic: Fix multiple irq assignments in a single line

PATCH New Laura Garcia Liebana 1 participant 1 message Feb 14, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: netlogic: Fix multiple irq assignments in a single line

Avoid the use of multiple assignments in a single line. Checkpatch found this issue.

---
 drivers/staging/netlogic/platform_net.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/netlogic/platform_net.c +2 -1
index 7806c2b..74e154f 100644
@@ -86,7 +86,8 @@ static void xlr_resource_init(struct resource *res, int offset, int irq)
 
 	res++;
 	res->name = "gmac";
-	res->start = res->end = irq;
+	res->start = irq;
+	res->end = irq;
 	res->flags = IORESOURCE_IRQ;
 }
 
Signature · 1 line
2.7.0