public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: laerdevstudios@gmail.com
To: mmarek@suse.com
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
	Parth Sane <laerdevstudios@gmail.com>
Subject: [PATCH] staging: netlogic: removed 1 multiple assignment checkpatch warning
Date: Fri, 11 Mar 2016 09:15:19 +0000	[thread overview]
Message-ID: <1457687719-8057-1-git-send-email-laerdevstudios@gmail.com> (raw)

From: Parth Sane <laerdevstudios@gmail.com>

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;
 }
 
-- 
2.1.4

             reply	other threads:[~2016-03-11  9:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-11  9:15 laerdevstudios [this message]
2016-03-11  9:18 ` [PATCH] staging: netlogic: removed 1 multiple assignment checkpatch warning Parth Sane
  -- strict thread matches above, loose matches on Subject: below --
2016-03-11  9:22 laerdevstudios
2016-03-15 16:09 ` Michal Marek

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=1457687719-8057-1-git-send-email-laerdevstudios@gmail.com \
    --to=laerdevstudios@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmarek@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox