summaryrefslogtreecommitdiff
path: root/drivers/phy/phy-spear1310-miphy.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-11 18:18:30 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-16 18:55:07 +0300
commit1d88f831d20c10b5633cd71117917cd04a0735a8 (patch)
tree023a5b137c228221c64d191179a5ad8a09d3ecb9 /drivers/phy/phy-spear1310-miphy.c
parentca05189716c2ce02c60303e9c1228a61d1cb9542 (diff)
downloadlinux-1d88f831d20c10b5633cd71117917cd04a0735a8.tar.xz
[media] tc358743: don't use variable length array for I2C writes
drivers/media/i2c/tc358743.c:148:19: warning: Variable length array is used. As the maximum size is 1026, we can't use dynamic var, as it would otherwise spend 1056 bytes of the stack at i2c_wr() function. So, allocate a buffer with the allowed maximum size together with the state var. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Acked-by: Mats Randgaard <matrandg@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/phy/phy-spear1310-miphy.c')
0 files changed, 0 insertions, 0 deletions