commit | fa1ecd8dc454fe2d3075a964240f45ceb60cb9e0 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Fri Oct 07 06:53:51 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Fri Oct 14 12:38:10 2016 -0300 |
tree | bd166264a1a6460fa1c2ebd477bc99da3335d76e | |
parent | bd1f976cc95b0689f889c8d93434ee61dd09b08b [diff] |
[media] dib0700_core: don't use stack on I2C reads Be sure that I2C reads won't use stack by passing a pointer to the state buffer, that we know it was allocated via kmalloc, instead of relying on the buffer allocated by an I2C client. Reviewed-by: Patrick Boettcher <patrick.boettcher@posteo.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>