Re: [PATCH v2] stacktrace: cleanup inconsistent variable type

2020-05-07 Thread Andrew Morton
On Wed, 6 May 2020 10:18:24 +0800 Walter Wu wrote: > On Wed, 2020-04-22 at 18:21 -0700, Bart Van Assche wrote: > > On 4/20/20 6:35 PM, Walter Wu wrote: > > > Modify the variable type of 'skip' member of struct stack_trace. > > > In theory, the 'skip' variable type should be unsigned int. > > > Th

Re: [PATCH v2] stacktrace: cleanup inconsistent variable type

2020-05-05 Thread Walter Wu
On Wed, 2020-04-22 at 18:21 -0700, Bart Van Assche wrote: > On 4/20/20 6:35 PM, Walter Wu wrote: > > 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