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: Jordan Crouse <jcrouse@codeaurora.org>
This commit is contained in:
Jordan Crouse 2020-09-10 10:10:13 -06:00
commit d77438e242

View file

@ -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;