hrtimers: Make sure hrtimer_resolution is unsigned int
authorBorislav Petkov <bp@suse.de>
Sat, 6 Jun 2015 09:30:00 +0000 (11:30 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 8 Jun 2015 13:46:06 +0000 (15:46 +0200)
commitd711b8b30c803b1b2aedf6a3474758798078f9e1
tree7c7c3618c2e48c11558d5c5d4de861b4f799de84
parent09cbbf0c169dd81487682622500c81a9012cbeef
hrtimers: Make sure hrtimer_resolution is unsigned int

... in the !CONFIG_HIGH_RES_TIMERS case too. And thus fix warnings like
this one:

net/sched/sch_api.c: In function ‘psched_show’:
net/sched/sch_api.c:1891:6: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 6 has type ‘long int’ [-Wformat=]
      (u32)NSEC_PER_SEC / hrtimer_resolution);

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1433583000-32090-1-git-send-email-bp@alien8.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
include/linux/hrtimer.h