Repository navigation
Commit e6e7a65
tracing/ftrace: fix unexpected -EINVAL when longest tracer name is set
Impact: fix confusing write() -EINVAL when changing the tracer
The following commit d9e5407 remade
alive the bug which made the set of a new tracer returning -EINVAL if
this is the longest name of tracer. This patch corrects it.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>1 parent ee02a2e commit e6e7a65
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2655 | 2655 | | |
2656 | 2656 | | |
2657 | 2657 | | |
| 2658 | + | |
| 2659 | + | |
| 2660 | + | |
2658 | 2661 | | |
2659 | 2662 | | |
2660 | 2663 | | |
| |||
2668 | 2671 | | |
2669 | 2672 | | |
2670 | 2673 | | |
2671 | | - | |
2672 | | - | |
2673 | | - | |
| 2674 | + | |
| 2675 | + | |
| 2676 | + | |
2674 | 2677 | | |
2675 | | - | |
2676 | | - | |
| 2678 | + | |
2677 | 2679 | | |
2678 | 2680 | | |
2679 | 2681 | | |
| |||
0 commit comments