diff options
author | Walter Wu <[email protected]> | 2020-06-10 18:41:56 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-06-10 19:14:18 -0700 |
commit | 2c34f6f738d2509cf9b710abd35a605acfd6ada6 (patch) | |
tree | 710b81a26ab9b11088d61b8f7adfbdd96d824d3a /scripts/gdb/linux | |
parent | 6af132f3a11e6d2d9032ce51c882aa5933543255 (diff) |
stacktrace: cleanup inconsistent variable type
Modify the variable type of 'skip' member of struct stack_trace.
In theory, the 'skip' variable type should be unsigned int.
There are two reasons:
- The 'skip' only has two situation, 1)Positive value, 2)Zero
- The 'skip' of struct stack_trace has inconsistent type with struct
stack_trace_data, it makes a bit confusion in the relationship between
struct stack_trace and stack_trace_data.
Signed-off-by: Walter Wu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Cc: Matthias Brugger <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions