Compile warnings in 2.6.14.2 (x86_64)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux