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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;