Compile warnings in 2.6.14.2 (x86_64)

From: Marcin Garski
Date: Sat Nov 19 2005 - 08:20:06 EST


[Please CC me on replies, I am not subscribed to the list, thanks!]

GCC: gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)
OS: Fedora Core 4 (x86_64)

drivers/md/dm-linear.c: In function âlinear_ctrâ:
drivers/md/dm-linear.c:41: warning: format â%luâ expects type âlong unsigned int *â, but argument 3 has type âsector_t *â

drivers/md/dm-linear.c: In function âlinear_statusâ:
drivers/md/dm-linear.c:91: warning: format â%luâ expects type âlong unsigned intâ, but argument 5 has type âsector_tâ

drivers/md/dm-stripe.c: In function âget_stripeâ:
drivers/md/dm-stripe.c:54: warning: format â%luâ expects type âlong unsigned int *â, but argument 3 has type âsector_t *â

drivers/md/dm-stripe.c: In function âstripe_statusâ:
drivers/md/dm-stripe.c:198: warning: format â%luâ expects type âlong unsigned intâ, but argument 5 has type âsector_tâ

drivers/md/dm-stripe.c:200: warning: format â%luâ expects type âlong unsigned intâ, but argument 5 has type âsector_tâ

drivers/md/dm-crypt.c: In function âcrypt_ctrâ:
drivers/md/dm-crypt.c:656: warning: format â%luâ expects type âlong unsigned int *â, but argument 3 has type âsector_t *â

drivers/md/dm-crypt.c:661: warning: format â%luâ expects type âlong unsigned int *â, but argument 3 has type âsector_t *â

drivers/md/dm-crypt.c: In function âcrypt_statusâ:
drivers/md/dm-crypt.c:903: warning: format â%luâ expects type âlong unsigned intâ, but argument 4 has type âsector_tâ

drivers/md/dm-crypt.c:903: warning: format â%luâ expects type âlong unsigned intâ, but argument 6 has type âsector_tâ

drivers/usb/input/yealink.c: In function âusb_probeâ:
drivers/usb/input/yealink.c:909: warning: format â%dâ expects type âintâ, but argument 4 has type âlong unsigned intâ

lib/ts_kmp.c:125: warning: initialization from incompatible pointer type

lib/ts_bm.c:165: warning: initialization from incompatible pointer type

lib/ts_fsm.c:318: warning: initialization from incompatible pointer type
--
Marcin Garski
-
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/