OSDN Git Service

Staging: unisys: virthba: Fix variable length array
authorKen Cox <jkc@redhat.com>
Fri, 7 Mar 2014 16:30:27 +0000 (10:30 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Mar 2014 06:42:14 +0000 (22:42 -0800)
commitbed3b10d20e34683ddc596f7858fef076d148390
tree776bd9c30f795947fd873056ab5b3a76f05e0b46
parenta16a027651359429b7a534edf8b82aac8f6482d5
Staging: unisys: virthba: Fix variable length array

A character array was declared on the stack with variable length.  This has
been corrected to use a fixed length.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ken Cox <jkc@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/virthba/virthba.c