Re: [PATCH v2] lib/stackdepot.c: allow the stack trace hash to be zero

2016-04-15 Thread Andrey Ryabinin
On 04/13/2016 03:07 PM, Alexander Potapenko wrote: > Do not bail out from depot_save_stack() if the stack trace has zero hash. > Initially depot_save_stack() silently dropped stack traces with zero > hashes, however there's actually no point in reserving this zero value. > > Reported-by: Joonsoo

[PATCH v2] lib/stackdepot.c: allow the stack trace hash to be zero

2016-04-13 Thread Alexander Potapenko
Do not bail out from depot_save_stack() if the stack trace has zero hash. Initially depot_save_stack() silently dropped stack traces with zero hashes, however there's actually no point in reserving this zero value. Reported-by: Joonsoo Kim Signed-off-by: Alexander Potapenko --- lib/stackdepot.c