video: driver: fix compilation issue with format specifier

Fix compilation issues due to wrong format specifiers being
used for printing device address.

Change-Id: Ic8ee8e9cdb563ea3efea9fa2e713befad74447cb
Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
This commit is contained in:
Dikshita Agarwal
2022-10-07 15:38:21 +05:30
vanhempi 6bf23cf65c
commit 4a24729ad9
3 muutettua tiedostoa jossa 9 lisäystä ja 9 poistoa

Näytä tiedosto

@@ -209,7 +209,7 @@ int msm_vidc_query_menu(void *instance, struct v4l2_querymenu *qmenu)
rc = -EINVAL;
i_vpr_h(inst,
"%s: ctrl: %s: min %lld, max %lld, menu_skip_mask %#x, qmenu: id %u, index %d, %s\n",
"%s: ctrl: %s: min %lld, max %lld, menu_skip_mask %lld, qmenu: id %u, index %d, %s\n",
__func__, ctrl->name, ctrl->minimum, ctrl->maximum,
ctrl->menu_skip_mask, qmenu->id, qmenu->index,
rc ? "not supported" : "supported");

Näytä tiedosto

@@ -3005,7 +3005,7 @@ int msm_vidc_put_delayed_unmap(struct msm_vidc_inst *inst, struct msm_vidc_map *
}
if (!map->skip_delayed_unmap) {
i_vpr_e(inst, "%s: no delayed unmap, addr %#x\n",
i_vpr_e(inst, "%s: no delayed unmap, addr %#llx\n",
__func__, map->device_addr);
return -EINVAL;
}
@@ -3842,7 +3842,7 @@ int msm_vidc_destroy_internal_buffer(struct msm_vidc_inst *inst,
return 0;
}
i_vpr_h(inst, "%s: destroy: type: %8s, size: %9u, device_addr %#x\n", __func__,
i_vpr_h(inst, "%s: destroy: type: %8s, size: %9u, device_addr %#llx\n", __func__,
buf_name(buffer->type), buffer->buffer_size, buffer->device_addr);
buffers = msm_vidc_get_buffers(inst, buffer->type, __func__);
@@ -3999,7 +3999,7 @@ int msm_vidc_create_internal_buffer(struct msm_vidc_inst *inst,
buffer->dmabuf = alloc->dmabuf;
buffer->device_addr = map->device_addr;
i_vpr_h(inst, "%s: create: type: %8s, size: %9u, device_addr %#x\n", __func__,
i_vpr_h(inst, "%s: create: type: %8s, size: %9u, device_addr %#llx\n", __func__,
buf_name(buffer_type), buffers->size, buffer->device_addr);
return 0;
@@ -4080,7 +4080,7 @@ int msm_vidc_queue_internal_buffers(struct msm_vidc_inst *inst,
/* mark queued */
buffer->attr |= MSM_VIDC_ATTR_QUEUED;
i_vpr_h(inst, "%s: queue: type: %8s, size: %9u, device_addr %#x\n", __func__,
i_vpr_h(inst, "%s: queue: type: %8s, size: %9u, device_addr %#llx\n", __func__,
buf_name(buffer->type), buffer->buffer_size, buffer->device_addr);
}
@@ -4161,7 +4161,7 @@ int msm_vidc_release_internal_buffers(struct msm_vidc_inst *inst,
/* mark pending release */
buffer->attr |= MSM_VIDC_ATTR_PENDING_RELEASE;
i_vpr_h(inst, "%s: release: type: %8s, size: %9u, device_addr %#x\n", __func__,
i_vpr_h(inst, "%s: release: type: %8s, size: %9u, device_addr %#llx\n", __func__,
buf_name(buffer->type), buffer->buffer_size, buffer->device_addr);
}
@@ -5709,7 +5709,7 @@ void msm_vidc_destroy_buffers(struct msm_vidc_inst *inst)
continue;
list_for_each_entry_safe(buf, dummy, &buffers->list, list) {
i_vpr_h(inst,
"destroying internal buffer: type %d idx %d fd %d addr %#x size %d\n",
"destroying internal buffer: type %d idx %d fd %d addr %#llx size %d\n",
buf->type, buf->index, buf->fd, buf->device_addr, buf->buffer_size);
msm_vidc_destroy_internal_buffer(inst, buf);
}

Näytä tiedosto

@@ -268,7 +268,7 @@ int msm_vidc_memory_map(struct msm_vidc_core *core, struct msm_vidc_map *map)
exit:
d_vpr_l(
"%s: type %11s, device_addr %#x, refcount %d, region %d\n",
"%s: type %11s, device_addr %#llx, refcount %d, region %d\n",
__func__, buf_name(map->type), map->device_addr, map->refcount, map->region);
return 0;
@@ -300,7 +300,7 @@ int msm_vidc_memory_unmap(struct msm_vidc_core *core,
}
d_vpr_l(
"%s: type %11s, device_addr %#x, refcount %d, region %d\n",
"%s: type %11s, device_addr %#llx, refcount %d, region %d\n",
__func__, buf_name(map->type), map->device_addr, map->refcount, map->region);
if (map->refcount)