From: Andrzej Hajda Date: Thu, 9 Jan 2014 12:55:43 +0000 (-0300) Subject: [media] s5k5baf: allow to handle arbitrary long i2c sequences X-Git-Tag: v3.14-rc2~14^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e8f15c5aa9b8021ee933336f3e055f279482051;p=pandora-kernel.git [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 Signed-off-by: Andrzej Hajda Signed-off-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed