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

From: Kronos
Date: Mon Feb 02 2004 - 14:50:53 EST



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@xxxxxxxxxxxxxx
Home: http://kronoz.cjb.net
"Sei l'unica donna della mia vita".
(Adamo)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/