]> err.no Git - linux-2.6/commit
[MIPS] Ocelot C: Fix warning about missmatching format string.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 3 Nov 2006 17:48:17 +0000 (17:48 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 6 Nov 2006 20:55:36 +0000 (20:55 +0000)
commit2002d2bde1a9ad10e2521b8b117c11abfbc2ee93
treee46f90e9a17e2bce4d61fdf33f9d566c1d1d933d
parent9c422e2ad6a1d8bd03e2e9d49e5c63b82165d596
[MIPS] Ocelot C: Fix warning about missmatching format string.

  CC      arch/mips/momentum/ocelot_c/setup.o
arch/mips/momentum/ocelot_c/setup.c: In function 'momenco_time_init':
arch/mips/momentum/ocelot_c/setup.c:223: warning: format '%d' expects type 'int', but argument 2 has type 'long unsigned int'

Change data type to match format string; a 32-bit type better suits our
needs.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/momentum/ocelot_c/prom.c
arch/mips/momentum/ocelot_c/setup.c