lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1457688147-8191-1-git-send-email-laerdevstudios@gmail.com>
Date:	Fri, 11 Mar 2016 09:22:27 +0000
From:	laerdevstudios@...il.com
To:	mmarek@...e.com
Cc:	linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
	Parth Sane <laerdevstudios@...il.com>
Subject: [PATCH] staging: netlogic: removed 1 multiple assignment checkpatch warning

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ