Re: [PATCH] Staging: rtl8821ae: use kmalloc instead of variable length stack arrays

2014-06-10 Thread Dan Carpenter
On Wed, Jun 04, 2014 at 07:45:45PM +0200, Remi Pommarel wrote: > This removes stack arrays of variable length and use kmalloc() instead, thus > removing the sparse warnings "Variable length array is used". > > Signed-off-by: Remi Pommarel > --- > drivers/staging/rtl8821ae/efuse.c | 38 ++

[PATCH] Staging: rtl8821ae: use kmalloc instead of variable length stack arrays

2014-06-04 Thread Remi Pommarel
This removes stack arrays of variable length and use kmalloc() instead, thus removing the sparse warnings "Variable length array is used". Signed-off-by: Remi Pommarel --- drivers/staging/rtl8821ae/efuse.c | 38 +++--- 1 file changed, 31 insertions(+), 7 deletions