]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9b850f04dd10c159759938c404c157f8a2ec91a4
tree776bd9c30f795947fd873056ab5b3a76f05e0b46
parent5eb2320290e15e6445b179777769582ee7311dfc
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