diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-12-06 15:34:19 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-12-07 11:29:58 +0100 |
commit | a2ab06d7c4d6bfd0b545a768247a70463e977e27 (patch) | |
tree | b67e6d3f3881678ce67d6139b626ffb3627e70b2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 61b738e938ef091e0c4c4e8eadeaf27502732e97 (diff) |
media: m920x: don't use stack on USB reads
Using stack-allocated pointers for USB message data don't work.
This driver is almost OK with that, except for the I2C read
logic.
Fix it by using a temporary read buffer, just like on all other
calls to m920x_read().
Link: https://lore.kernel.org/all/ccc99e48-de4f-045e-0fe4-61e3118e3f74@mida.se/
Reported-by: rkardell@mida.se
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions