Skip to contentSkip to conversation

stacktrace-cleanup-inconsistent-variable-type.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jun 11, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: stacktrace: cleanup inconsistent variable type
has been removed from the -mm tree. Its filename was
stacktrace-cleanup-inconsistent-variable-type.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Walter Wu <[email protected]>
Subject: 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.

---

 include/linux/stacktrace.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/stacktrace.h renamed from include/linux/stacktrace.h~stacktrace-cleanup-inconsistent-variable-type +1 -1
@@ -64,7 +64,7 @@ void arch_stack_walk_user(stack_trace_co
 struct stack_trace {
 	unsigned int nr_entries, max_entries;
 	unsigned long *entries;
-	int skip;	/* input argument: How many entries to skip */
+	unsigned int skip;	/* input argument: How many entries to skip */
 };
 
 extern void save_stack_trace(struct stack_trace *trace);

_

Patches currently in -mm which might be from [email protected] are