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: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
Mauro Carvalho Chehab 2020-04-19 14:02:03 +02:00
parent c1b70ae094
commit e7b955f8e0

View file

@ -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(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_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(kp->exp_id, &up->exp_id))
return -EFAULT;