diff options
author | Andrzej Hajda <[email protected]> | 2014-01-09 09:55:43 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2014-02-04 05:52:48 -0200 |
commit | 7e8f15c5aa9b8021ee933336f3e055f279482051 (patch) | |
tree | 331ba060eb30b0164a869c212f88f36b3a251ff4 /tools/perf/util/trace-event-scripting.c | |
parent | c29b8f3149f2916e98fc3b8d6c1df2137d003979 (diff) |
[media] s5k5baf: allow to handle arbitrary long i2c sequences
Using variable length array in s5k5baf_write_arr_seq caused
an implicit assumption that i2c sequences should be short.
The patch rewrites the function so it can handle sequences
of any length and does not use variable length array.
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Andrzej Hajda <[email protected]>
Signed-off-by: Sylwester Nawrocki <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions