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

Commit d77438e2 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: kgsl: Fix the invalid cmdobj message



The "invalid cmdobj" message printed from kgsl_drawobj.c had a nnumber of
formatting errors.  Make the GPU address hex per convention and make sure
that the offset and size print as unsigned values.

Change-Id: Ic0dedbada14dc64c0234d32a37408a71cb4ba029
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 213d869e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1212,7 +1212,7 @@ int kgsl_drawobj_cmd_add_cmdlist(struct kgsl_device *device,
		/* Sanity check the flags */
		if (!(obj.flags & CMDLIST_FLAGS)) {
			dev_err(device->dev,
				     "invalid cmdobj ctxt %d flags %d id %d offset %lld addr %lld size %lld\n",
				     "invalid cmdobj ctxt %d flags %d id %d offset %llu addr %llx size %llu\n",
				     baseobj->context->id, obj.flags, obj.id,
				     obj.offset, obj.gpuaddr, obj.size);
			return -EINVAL;