git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6afaab9
)
staging:line6: Fix use of variable length arrays
author
Himangi Saraogi
<himangi774@gmail.com>
Sun, 9 Mar 2014 00:17:12 +0000
(
05:47
+0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 9 Mar 2014 04:35:16 +0000
(20:35 -0800)
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
patch
|
blob
|
history
diff --cc
drivers/staging/line6/midi.c
Simple merge