2016-03-11 08:44:08

by Parth Sane

[permalink] [raw]
Subject: [PATCH] Fixed 1 multiple equals checkpatch warning.

From: Parth Sane <[email protected]>

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


2016-03-11 08:49:20

by Parth Sane

[permalink] [raw]
Subject: Re: [PATCH] Fixed 1 multiple equals checkpatch warning.

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, [email protected] wrote:
>
> From: Parth Sane <[email protected]>
>
> 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
>


Attachments:
signature.asc (842.00 B)
Message signed with OpenPGP using GPGMail