* [PATCH] staging: netlogic: Fixed 1 multiple assignment checkpatch warning.
@ 2016-03-11 9:04 laerdevstudios
0 siblings, 0 replies; only message in thread
From: laerdevstudios @ 2016-03-11 9:04 UTC (permalink / raw)
To: mmarek; +Cc: linux-kbuild, linux-kernel, Parth Sane
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-03-11 9:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-11 9:04 [PATCH] staging: netlogic: Fixed 1 multiple assignment checkpatch warning laerdevstudios
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.