staging:line6: Fix use of variable length arrays
authorHimangi Saraogi <himangi774@gmail.com>
Sun, 9 Mar 2014 00:17:12 +0000 (05:47 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Mar 2014 04:35:16 +0000 (20:35 -0800)
commitf2459201c72e8f8553644505eed19954d4c3a023
treeadc3763012badd17d0f4d147ac64f6814e2b2546
parent6afaab954f0f510134ef42ae1c8f55371c008936
staging:line6: Fix use of variable length arrays

This patch fixes the sparse warning:
drivers/staging/line6/midi.c:50:34: warning: Variable length array is used.
The size is same as the variable LINE6_FALLBACK_MAXPACKETSIZE,
so use that.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/line6/midi.c