diff options
author | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | 2010-09-13 17:47:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-21 12:43:29 -0700 |
commit | 7d6f5dbe923973537d25b07ae67bca552341cdf3 (patch) | |
tree | 7731db7db09999d7a08c821b99497b633454dfaf /kernel/panic.c | |
parent | 8e1eb27c298533705a1561d4ea4dec31e80407b2 (diff) |
sched: Fix string comparison in /proc/sched_features
commit 7740191cd909b75d75685fb08a5d1f54b8a9d28b upstream.
Fix incorrect handling of the following case:
INTERACTIVE
INTERACTIVE_SOMETHING_ELSE
The comparison only checks up to each element's length.
Changelog since v1:
- Embellish using some Rostedtisms.
[ mingo: ^^ == smaller and cleaner ]
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Tony Lindgren <tony@atomide.com>
LKML-Reference: <20100913214700.GB16118@Krystal>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/panic.c')
0 files changed, 0 insertions, 0 deletions