diff options
author | 2020-06-04 18:16:19 +0200 | |
---|---|---|
committer | 2020-06-11 18:45:34 +0200 | |
commit | 09013efe1c1a73154a0bf2ab14430d33e3c7d2fd (patch) | |
tree | d0b95529b7f0ab842d8c6e8e80848c4856080c87 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | media: staging: atomisp: There's no struct atomisp_dvs2_coefficients (diff) | |
download | wireguard-linux-09013efe1c1a73154a0bf2ab14430d33e3c7d2fd.tar.xz wireguard-linux-09013efe1c1a73154a0bf2ab14430d33e3c7d2fd.zip |
media: staging: atomisp: Fix atomisp_overlay32 compat handling
The struct atomisp_overlay contains overlay_start_x and overlay_start_y
fields. Instead of copying the value of the overlay_start_x field between
the two structs, the value of the overlay_start_y field of the compat
struct was copied to the overlay_start_x field of the 64-bit kernel struct
in get operation and back in put. The overlay_start_x field value was not
copied from or to the user space struct.
Fix this so that the value of overlay_start_x is copied to overlay_start_x
and the value of overlay_start_y is copied to overlay_start_y.
Also do copy blend_overlay_perc_u field only once.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions