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

Commit 72276b80 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: Allow 0 as a valid ion file descriptor"

parents 2120c6d9 72db2620
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2249,7 +2249,7 @@ static long _gpuobj_map_dma_buf(struct kgsl_device *device,
	if (ret)
		return ret;

	if (buf.fd == 0)
	if (buf.fd < 0)
		return -EINVAL;

	*fd = buf.fd;