Re: [PATCH slof] helpers: Fix SLOF_alloc_mem_aligned to meet callers expectation

2015-03-13 Thread Nikunj A Dadhania
Alexey Kardashevskiy writes: > Every caller of SLOF_alloc_mem_aligned() assumes the size is the first > argument while it is not. > > This switches align and size and fixes random memory corruptions. > > This is grep for SLOF_alloc_mem_aligned with this patch applied: > > include/helpers.h|27| ex

[PATCH slof] helpers: Fix SLOF_alloc_mem_aligned to meet callers expectation

2015-03-13 Thread Alexey Kardashevskiy
Every caller of SLOF_alloc_mem_aligned() assumes the size is the first argument while it is not. This switches align and size and fixes random memory corruptions. This is grep for SLOF_alloc_mem_aligned with this patch applied: include/helpers.h|27| extern void *SLOF_alloc_mem_aligned(long size,