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

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

Merge "ion: msm: fix bug with handle id handling"

parents 0da8194d 6731e942
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -805,7 +805,7 @@ static long msm_ion_custom_ioctl(struct ion_client *client,
					sizeof(struct ion_flush_data)))
			return -EFAULT;

		if (data.handle >= 0) {
		if (data.handle > 0) {
			handle = ion_handle_get_by_id(client, (int)data.handle);
			if (IS_ERR(handle)) {
				pr_info("%s: Could not find handle: %d\n",