[Compile Regression in 2.4.25-pre8][PATCH 10/42]

Kronos
2004-02-02T19:47:27Z

csr.c:120: warning: long unsigned int format, int arg (arg 3)

HZ is int, not unsigned long.

diff -Nru -X dontdiff linux-2.4-vanilla/drivers/ieee1394/csr.c linux-2.4/drivers/ieee1394/csr.c
--- linux-2.4-vanilla/drivers/ieee1394/csr.c Tue Nov 11 17:51:38 2003
+++ linux-2.4/drivers/ieee1394/csr.c Sat Jan 31 17:07:53 2004
@@ -117,7 +117,7 @@
/* Just to keep from rounding low */
csr->expire++;

- HPSB_VERBOSE("CSR: setting expire to %lu, HZ=%lu", csr->expire, HZ);
+ HPSB_VERBOSE("CSR: setting expire to %lu, HZ=%d", csr->expire, HZ);
}

--
Reply-To: kronos@kronoz.cjb.net
Home: http://kronoz.cjb.net
"Sei l'unica donna della mia vita".
(Adamo)