Re: [PATCH] drivers: staging: lustre: replace variable length array by dynamic allocation

2017-05-27 Thread Andy Shevchenko
On Tue, May 23, 2017 at 10:38 PM, Greg Kroah-Hartman wrote: > On Tue, May 23, 2017 at 09:32:13PM +0200, Raphaël Beamonte wrote: >> drivers/staging/lustre/lustre/llite/xattr.c:89:62: warning: Variable >> length array is used. >>

Re: [PATCH] drivers: staging: lustre: replace variable length array by dynamic allocation

2017-05-23 Thread Greg Kroah-Hartman
On Tue, May 23, 2017 at 09:32:13PM +0200, Raphaël Beamonte wrote: > Fixes the following sparse warnings: > > drivers/staging/lustre/lustre/llite/xattr.c:89:62: warning: Variable > length array is used. > drivers/staging/lustre/lustre/llite/xattr.c:366:62: warning: Variable > length array is used.

[PATCH] drivers: staging: lustre: replace variable length array by dynamic allocation

2017-05-23 Thread Raphaël Beamonte
Fixes the following sparse warnings: drivers/staging/lustre/lustre/llite/xattr.c:89:62: warning: Variable length array is used. drivers/staging/lustre/lustre/llite/xattr.c:366:62: warning: Variable length array is used. Signed-off-by: Raphaël Beamonte ---