From: Andrew Morton am finding quite a few of these.. fs/proc/array.c: In function 'do_task_stat': fs/proc/array.c:460: warning: format '%lu' expects type 'long unsigned int', but argument 11 has type 'unsigned int' fs/proc/array.c:460: warning: format '%lu' expects type 'long unsigned int', but argument 41 has type 'unsigned int' fs/proc/array.c:460: warning: format '%lu' expects type 'long unsigned int', but argument 42 has type 'unsigned int' Cc: William Cohen Signed-off-by: Andrew Morton --- fs/proc/array.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN fs/proc/array.c~reduce-size-of-task_struct-on-64-bit-machines-fix fs/proc/array.c --- a/fs/proc/array.c~reduce-size-of-task_struct-on-64-bit-machines-fix +++ a/fs/proc/array.c @@ -410,9 +410,9 @@ static int do_task_stat(struct task_stru /* convert nsec -> ticks */ start_time = nsec_to_clock_t(start_time); - res = sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu \ + res = sprintf(buffer,"%d (%s) %c %d %d %d %d %d %u %lu \ %lu %lu %lu %lu %lu %ld %ld %ld %ld %d 0 %llu %lu %ld %lu %lu %lu %lu %lu \ -%lu %lu %lu %lu %lu %lu %lu %lu %d %d %lu %lu %llu\n", +%lu %lu %lu %lu %lu %lu %lu %lu %d %d %u %u %llu\n", task->pid, tcomm, state, _