Skip to contentSkip to conversation

staging: netlogic: Fixed 1 multiple assignment checkpatch warning.

PATCH New [email protected] 1 participant 1 message Mar 11, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: netlogic: Fixed 1 multiple assignment checkpatch warning.

From: Parth Sane <[email protected]>

drivers/staging/netlogic/platform_net.c +2 -1
index 7806c2b..daee1b2 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->end = irq;
+	res->start = res->end;
 	res->flags = IORESOURCE_IRQ;
 }
 
Signature · 1 line
2.1.4