Skip to contentSkip to conversation

Fixed 1 multiple equals 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 Fixed 1 multiple equals checkpatch warning.

From: Parth Sane <[email protected]>

drivers/staging/netlogic/platform_net.c +2 -1
index 7806c2b..de2c3cb 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,
Please ignore the previous patch. I’ll be sending in one soon again since the earlier one sent more warning. Apologies for any inconvenience. Regards,
Parth Sane

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

From: Parth Sane <[email protected]>

drivers/staging/netlogic/platform_net.c +2 -2
index 7806c2b..de2c3cb 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