* [RFC patch] MIPS: select correct tc
@ 2011-08-04 14:38 Hillf Danton
2011-08-04 15:07 ` Ralf Baechle
2011-08-20 13:09 ` Ralf Baechle
0 siblings, 2 replies; 4+ messages in thread
From: Hillf Danton @ 2011-08-04 14:38 UTC (permalink / raw)
To: Ralf Baechle, LKML
If we could find tc on the tc list for @index, the found tc should be returned.
Signed-off-by: Hillf Danton <dhillf@gmail.com>
---
arch/mips/kernel/vpe.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mips/kernel/vpe.c b/arch/mips/kernel/vpe.c
index dbb6b40..044b700 100644
--- a/arch/mips/kernel/vpe.c
+++ b/arch/mips/kernel/vpe.c
@@ -192,7 +192,7 @@ static struct tc *get_tc(int index)
}
spin_unlock(&vpecontrol.tc_list_lock);
- return NULL;
+ return res;
}
/* allocate a vpe and associate it with this minor (or index) */
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [RFC patch] MIPS: select correct tc
2011-08-04 14:38 [RFC patch] MIPS: select correct tc Hillf Danton
@ 2011-08-04 15:07 ` Ralf Baechle
2011-08-05 13:17 ` Hillf Danton
2011-08-20 13:09 ` Ralf Baechle
1 sibling, 1 reply; 4+ messages in thread
From: Ralf Baechle @ 2011-08-04 15:07 UTC (permalink / raw)
To: Hillf Danton; +Cc: LKML, linux-mips
Please, when posting MIPS patches ALWAYS include linux-mips@linux-mips.org
so patchwork can snarf up the patches. Without that there is a significant
chance that I'm going to miss patches.
Thanks!
Ralf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC patch] MIPS: select correct tc
2011-08-04 15:07 ` Ralf Baechle
@ 2011-08-05 13:17 ` Hillf Danton
0 siblings, 0 replies; 4+ messages in thread
From: Hillf Danton @ 2011-08-05 13:17 UTC (permalink / raw)
To: Ralf Baechle; +Cc: LKML, linux-mips
On Thu, Aug 4, 2011 at 11:07 PM, Ralf Baechle <ralf@linux-mips.org> wrote:
> Please, when posting MIPS patches ALWAYS include linux-mips@linux-mips.org
> so patchwork can snarf up the patches. Without that there is a significant
> chance that I'm going to miss patches.
>
Got and thanks.
Hillf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC patch] MIPS: select correct tc
2011-08-04 14:38 [RFC patch] MIPS: select correct tc Hillf Danton
2011-08-04 15:07 ` Ralf Baechle
@ 2011-08-20 13:09 ` Ralf Baechle
1 sibling, 0 replies; 4+ messages in thread
From: Ralf Baechle @ 2011-08-20 13:09 UTC (permalink / raw)
To: Hillf Danton; +Cc: LKML, linux-mips, Steven J. Hill, Chris Dearman
On Thu, Aug 04, 2011 at 10:38:31PM +0800, Hillf Danton wrote:
> If we could find tc on the tc list for @index, the found tc should be returned.
This bug has been in the VPE code since 2009 and it pretty much proofs
that nobody is using this crap.
I've applied your patch but your finding of this bug which is around since
about two years pretty much proofs that nobody is using this code, so it
can be removed. It's been fugly since day one..
Thanks,
Ralf
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-08-20 13:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-04 14:38 [RFC patch] MIPS: select correct tc Hillf Danton
2011-08-04 15:07 ` Ralf Baechle
2011-08-05 13:17 ` Hillf Danton
2011-08-20 13:09 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox