All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: laerdevstudios@gmail.com
Cc: devel@driverdev.osuosl.org,
	driverdev-devel@linuxdriverproject.org, brcnakalin@gmail.com
Subject: Re: [PATCH] staging: netlogic: removed 1 multiple assignment checkpatch warning
Date: Mon, 21 Mar 2016 21:53:41 -0400	[thread overview]
Message-ID: <20160322015341.GA27738@kroah.com> (raw)
In-Reply-To: <1458060384-24035-1-git-send-email-laerdevstudios@gmail.com>

On Tue, Mar 15, 2016 at 04:46:24PM +0000, laerdevstudios@gmail.com wrote:
> From: Parth Sane <laerdevstudios@gmail.com>
> 
> Fixed multiple assignment checkpatch warning by rearranging code.
> 
> Signed-off-by: Parth Sane <laerdevstudios@gmail.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;
>  }
>  

This patch is already in Linus's tree, be sure to always work against
the linux-next tree at the very least.

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

  parent reply	other threads:[~2016-03-22  1:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-15 16:46 [PATCH] staging: netlogic: removed 1 multiple assignment checkpatch warning laerdevstudios
2016-03-19 16:34 ` Parth Sane
2016-03-19 17:03   ` Roger H Newell
2016-03-19 17:09     ` Parth Sane
2016-03-19 17:13   ` Greg KH
2016-03-19 17:17     ` Parth Sane
2016-03-22  1:53 ` Greg KH [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-03-15 16:23 laerdevstudios
2016-03-15 16:42 ` Greg KH
2016-03-11  9:22 laerdevstudios
2016-03-15 16:09 ` Michal Marek
2016-03-15 16:09   ` Michal Marek
2016-03-11  9:15 laerdevstudios
2016-03-11  9:18 ` Parth Sane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160322015341.GA27738@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=brcnakalin@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=driverdev-devel@linuxdriverproject.org \
    --cc=laerdevstudios@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.