Skip to contentSkip to conversation

staging: netlogic: removed 1 multiple assignment checkpatch warning

PATCH In review [email protected] 1 participant 2 messages Mar 11, 2016

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

PATCH 1/1 staging: netlogic: removed 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
author
#1 lore raw

Hi,
I forgot to add the signed off part in the patch please ignore the previous patches I have sent. Please bear with a kernel newbie. Regards,
Parth Sane

Quoted 21 lines · On 11-Mar-2016, at 2:45 PM, [email protected] wrote:

From: Parth Sane <[email protected]>

drivers/staging/netlogic/platform_net.c +2 -2
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;
 }
 
--

2.1.4