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

Commit 5be32fa2 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Fix a sign mismatch in memdesc_sg_virt"

parents 2af980d6 93a52180
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2719,7 +2719,7 @@ static int memdesc_sg_virt(struct kgsl_memdesc *memdesc, struct file *vmfile)
	if (ret)
		goto out;

	if (npages != sglen) {
	if ((unsigned long) npages != sglen) {
		ret = -EINVAL;
		goto out;
	}