Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1355760
| From | laerdevstudios@gmail.com |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] staging: netlogic: removed 1 multiple assignment checkpatch warning |
| Date | 2016-03-11 10:30 +0100 |
| Message-ID | <rbryp-3Zo-11@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
From: Parth Sane <laerdevstudios@gmail.com> Fixed netlogic checkpatch multiple assignment warning in platform_net.c 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; } -- 2.1.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] staging: netlogic: removed 1 multiple assignment checkpatch warning laerdevstudios@gmail.com - 2016-03-11 10:30 +0100 Re: [PATCH] staging: netlogic: removed 1 multiple assignment checkpatch warning Michal Marek <mmarek@suse.com> - 2016-03-15 17:10 +0100
csiph-web