Commit 18933674 authored by Philippe Gerum's avatar Philippe Gerum
Browse files

cobalt: fix deprecated vsprintf format specifier

parent 992dbdfc
......@@ -114,7 +114,7 @@ static int vfile_show(struct xnvfile_snapshot_iterator *it, void *data)
xnvfile_printf(it, "%9s %9s %s\n",
"TOTAL", "FREE", "NAME");
else
xnvfile_printf(it, "%9Zu %9Zu %s\n",
xnvfile_printf(it, "%9zu %9zu %s\n",
p->all_mem,
p->free_mem,
p->name);
......
......@@ -370,7 +370,7 @@ TRACE_EVENT(cobalt_sched_setconfig,
__entry->policy = policy;
__entry->len = len;
),
TP_printk("cpu=%d policy=%d(%s) len=%Zu",
TP_printk("cpu=%d policy=%d(%s) len=%zu",
__entry->cpu, __entry->policy,
cobalt_print_sched_policy(__entry->policy),
__entry->len)
......@@ -882,7 +882,7 @@ TRACE_EVENT(cobalt_mq_send,
__entry->len = len;
__entry->prio = prio;
),
TP_printk("mqd=%d buf=%p len=%Zu prio=%u",
TP_printk("mqd=%d buf=%p len=%zu prio=%u",
__entry->mqd, __entry->u_buf, __entry->len,
__entry->prio)
);
......@@ -903,7 +903,7 @@ TRACE_EVENT(cobalt_mq_timedreceive,
__entry->len = len;
__assign_timespec(timeout, timeout);
),
TP_printk("mqd=%d buf=%p len=%Zu timeout=(%ld.%09ld)",
TP_printk("mqd=%d buf=%p len=%zu timeout=(%ld.%09ld)",
__entry->mqd, __entry->u_buf, __entry->len,
__timespec_args(timeout))
);
......@@ -921,7 +921,7 @@ TRACE_EVENT(cobalt_mq_receive,
__entry->u_buf = u_buf;
__entry->len = len;
),
TP_printk("mqd=%d buf=%p len=%Zu",
TP_printk("mqd=%d buf=%p len=%zu",
__entry->mqd, __entry->u_buf, __entry->len)
);
......
......@@ -320,7 +320,7 @@ TRACE_EVENT(cobalt_fd_mmap,
__entry->flags = rma->flags;
),
TP_printk("device=%p fd=%d area={ len:%Zu, off:%Lu }"
TP_printk("device=%p fd=%d area={ len:%zu, off:%Lu }"
" prot=%#x(%s) flags=%#x(%s) pid=%d comm=%s",
__entry->dev, __entry->ufd, __entry->length,
(unsigned long long)__entry->offset,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment