Commit e7b955f8 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: atomisp: fix a broken compat32 code

There's a typo at the compat32 code, with forgot to get the
pointer address, causing the driver to not build.

Not sure why this didn't produce an error back when the
driver got removed.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent c1b70ae0
...@@ -103,7 +103,7 @@ static int get_atomisp_dis_statistics32(struct atomisp_dis_statistics *kp, ...@@ -103,7 +103,7 @@ static int get_atomisp_dis_statistics32(struct atomisp_dis_statistics *kp,
get_user(hor_prod_even_imag, &up->dvs2_stat.hor_prod.even_imag) || get_user(hor_prod_even_imag, &up->dvs2_stat.hor_prod.even_imag) ||
get_user(ver_prod_odd_real, &up->dvs2_stat.ver_prod.odd_real) || get_user(ver_prod_odd_real, &up->dvs2_stat.ver_prod.odd_real) ||
get_user(ver_prod_odd_imag, &up->dvs2_stat.ver_prod.odd_imag) || get_user(ver_prod_odd_imag, &up->dvs2_stat.ver_prod.odd_imag) ||
get_user(ver_prod_even_real, up->dvs2_stat.ver_prod.even_real) || get_user(ver_prod_even_real, &up->dvs2_stat.ver_prod.even_real) ||
get_user(ver_prod_even_imag, &up->dvs2_stat.ver_prod.even_imag) || get_user(ver_prod_even_imag, &up->dvs2_stat.ver_prod.even_imag) ||
get_user(kp->exp_id, &up->exp_id)) get_user(kp->exp_id, &up->exp_id))
return -EFAULT; return -EFAULT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment