[RFC 2/3] arm64: refactor save_stack_trace()

Mark Rutland mark.rutland at arm.com
Fri Jul 17 05:40:54 PDT 2015


Hi,

> @@ -354,7 +330,7 @@ static int t_show(struct seq_file *m, vo
>  		seq_printf(m, "        Depth    Size   Location"
>  			   "    (%d entries)\n"
>  			   "        -----    ----   --------\n",
> -			   max_stack_trace.nr_entries - 1);
> +			   max_stack_trace.nr_entries);

I believe you'll want the same fix in print_max_stack, given it's a
carbon copy.

Mark



More information about the linux-arm-kernel mailing list