[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] sched_sedf printf formatting warnings

  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Hollis Blanchard <hollisb@xxxxxxxxxx>
  • Date: Mon, 09 May 2005 16:44:02 -0500
  • Delivery-date: Mon, 09 May 2005 21:45:35 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

With the new sched_sedf.c, I get a whole host of these:

sched_sedf.c: In function `extraq_add_sort_update':
sched_sedf.c:183: warning: long long int format, s_time_t arg (arg 5)
sched_sedf.c: In function `__del_from_queue':
sched_sedf.c:269: warning: long long unsigned int format, s_time_t arg
(arg 4)

And since we have -Wall -Werror, the build fails.

Not sure what the right fix is here. I think Linux defined its own %z
for size_t printf arguments... Of course, there is always casting.

Hollis Blanchard
IBM Linux Technology Center

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.