[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <56E833CB.1060407@suse.com>
Date: Tue, 15 Mar 2016 17:09:47 +0100
From: Michal Marek <mmarek@...e.com>
To: laerdevstudios@...il.com
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
driverdev-devel@...uxdriverproject.org
Subject: Re: [PATCH] staging: netlogic: removed 1 multiple assignment
checkpatch warning
This should go to the staging mailing list.
Michal
Dne 11.3.2016 v 10:22 laerdevstudios@...il.com napsal(a):
> From: Parth Sane <laerdevstudios@...il.com>
>
> Fixed netlogic checkpatch multiple assignment warning in platform_net.c
>
> Signed-off-by: Parth Sane <laerdevstudios@...il.com>
> ---
> drivers/staging/netlogic/platform_net.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/staging/netlogic/platform_net.c b/drivers/staging/netlogic/platform_net.c
> index 7806c2b..daee1b2 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;
> }
>
>
Powered by blists - more mailing lists