Re: [PATCH] Staging: unisys: virthba: Fix variable length array

2014-03-07 Thread Ken Cox
On 03/07/2014 10:02 AM, Greg KH wrote: On Fri, Mar 07, 2014 at 07:10:57AM -0600, Ken Cox wrote: A character array was declared on the stack with variable length. This has been corrected to use a fixed length. Reported-by: Dan Carpenter Signed-off-by: Ken Cox --- drivers/staging/unisys/vir

Re: [PATCH] Staging: unisys: virthba: Fix variable length array

2014-03-07 Thread Greg KH
On Fri, Mar 07, 2014 at 07:10:57AM -0600, Ken Cox wrote: > A character array was declared on the stack with variable length. This has > been corrected to use a fixed length. > > Reported-by: Dan Carpenter > Signed-off-by: Ken Cox > --- > drivers/staging/unisys/virthba/virthba.c | 7 ++- >

Re: [PATCH] Staging: unisys: virthba: Fix variable length array

2014-03-07 Thread Dan Carpenter
On Fri, Mar 07, 2014 at 07:10:57AM -0600, Ken Cox wrote: > A character array was declared on the stack with variable length. This has > been corrected to use a fixed length. > > Reported-by: Dan Carpenter > Signed-off-by: Ken Cox > --- > drivers/staging/unisys/virthba/virthba.c | 7 ++- >