diff options
| author | Colin Ian King <[email protected]> | 2021-03-23 15:24:21 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-04-06 10:34:02 +0200 |
| commit | 5dccfce4ef32efe8548d6bf81686a98529aecc3a (patch) | |
| tree | ae7508db3719e150b10d9bf4092aabc8ac626434 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 5cd255e72646f487f11e4ed2fb5af2e0a94ce221 (diff) | |
media: imx-jpeg: Pass the v4l2_jpeg_header header argument by reference
Currently the header argument is being passed by value, so a copy of 256
byte structure on the stack is potentially occurring. Fix this by passing
by reference to avoid any large stack copies.
Addresses-Coverity: ("Big parameter passed by value")
Fixes: 2db16c6ed72c ("media: imx-jpeg: Add V4L2 driver for i.MX8 JPEG Encoder/Decoder")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions