public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fixed 1 multiple equals checkpatch warning.
@ 2016-03-11  8:43 laerdevstudios
  2016-03-11  8:49 ` Parth Sane
  0 siblings, 1 reply; 2+ messages in thread
From: laerdevstudios @ 2016-03-11  8:43 UTC (permalink / raw)
  To: mmarek; +Cc: linux-kbuild, linux-kernel, Parth Sane

From: Parth Sane <laerdevstudios@gmail.com>

diff --git a/drivers/staging/netlogic/platform_net.c b/drivers/staging/netlogic/platform_net.c
index 7806c2b..de2c3cb 100644
--- a/drivers/staging/netlogic/platform_net.c
+++ b/drivers/staging/netlogic/platform_net.c
@@ -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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fixed 1 multiple equals checkpatch warning.
  2016-03-11  8:43 [PATCH] Fixed 1 multiple equals checkpatch warning laerdevstudios
@ 2016-03-11  8:49 ` Parth Sane
  0 siblings, 0 replies; 2+ messages in thread
From: Parth Sane @ 2016-03-11  8:49 UTC (permalink / raw)
  To: mmarek; +Cc: linux-kbuild, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 805 bytes --]

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
> On 11-Mar-2016, at 2:13 PM, laerdevstudios@gmail.com wrote:
> 
> From: Parth Sane <laerdevstudios@gmail.com>
> 
> diff --git a/drivers/staging/netlogic/platform_net.c b/drivers/staging/netlogic/platform_net.c
> index 7806c2b..de2c3cb 100644
> --- a/drivers/staging/netlogic/platform_net.c
> +++ b/drivers/staging/netlogic/platform_net.c
> @@ -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
> 


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 842 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-11  8:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-11  8:43 [PATCH] Fixed 1 multiple equals checkpatch warning laerdevstudios
2016-03-11  8:49 ` Parth Sane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox