Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit 39070763 authored by android-t1's avatar android-t1 Committed by Ahmed Harhash
Browse files

Integrate security patch 2023-02-05-CVE-2022-39842

Change-Id: I0f72318263229313ba132e83db57ac303a3c874e
parent 88622bb1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -394,7 +394,7 @@ pxa3xx_gcu_write(struct file *file, const char *buff,
	struct pxa3xx_gcu_batch	*buffer;
	struct pxa3xx_gcu_priv *priv = to_pxa3xx_gcu_priv(file);

	int words = count / 4;
	size_t words = count / 4;

	/* Does not need to be atomic. There's a lock in user space,
	 * but anyhow, this is just for statistics. */