[openib-general] Compile warnings (cross build)
Stephen Hemminger
shemminger at osdl.org
Tue Sep 26 13:51:14 PDT 2006
Hello,
At OSDL we have been running automated cross-compiles on the
scsi-misc and scsi-rc-fixes trees and I thought it might be
helpful to post the warnings and errors which appear compared
to the tree it is based on. SCSI is clean, so mostly these
are warnings. We do allmodconfig or defconfig on arm, I386,
ia64, powerpc, ppc, sparc64, x86_64. If there were no
additional warnings, then that architecture is not in the output.
So, here are the _additional_ warnings from the linux-2.6.18-scsi-misc1
compile outputs versus the linux-2.6.18 compile outputs.
Let me know if this is useful, or how it could be better.
WKR,
Judith Lebzelter
OSDL
*********ia64*********
> drivers/infiniband/hw/amso1100/c2_provider.c: In function `c2_reg_phys_mr':
> drivers/infiniband/hw/amso1100/c2_provider.c:397: warning: long long unsigned int format, long unsigned int arg (arg 6)
> drivers/infiniband/hw/amso1100/c2_provider.c:397: warning: long long unsigned int format, long unsigned int arg (arg 7)
> drivers/infiniband/hw/amso1100/c2_provider.c:397: warning: long long unsigned int format, long unsigned int arg (arg 8)
> drivers/infiniband/hw/amso1100/c2_rnic.c: In function `c2_rnic_init':
> drivers/infiniband/hw/amso1100/c2_rnic.c:529: warning: long long unsigned int format, dma_addr_t arg (arg 4)
> drivers/infiniband/hw/amso1100/c2_rnic.c:552: warning: long long unsigned int format, dma_addr_t arg (arg 4)
> drivers/infiniband/hw/amso1100/c2_alloc.c: In function `c2_alloc_mqsp':
> drivers/infiniband/hw/amso1100/c2_alloc.c:117: warning: long long unsigned int format, long unsigned int arg (arg 4)
> drivers/infiniband/hw/amso1100/c2_alloc.c:94: warning: 'mqsp' might be used uninitialized in this function
> drivers/infiniband/hw/amso1100/c2_ae.c: In function `c2_ae_event':
> drivers/infiniband/hw/amso1100/c2_ae.c:195: warning: long long unsigned int format, long unsigned int arg (arg 4)
*********powerpc*********
> drivers/infiniband/hw/amso1100/c2_provider.c: In function 'c2_reg_phys_mr':
> drivers/infiniband/hw/amso1100/c2_provider.c:397: warning: format '%llx' expects type 'long long unsigned int', but argument 6 has type 'u64'
> drivers/infiniband/hw/amso1100/c2_provider.c:397: warning: format '%llx' expects type 'long long unsigned int', but argument 7 has type 'u64'
> drivers/infiniband/hw/amso1100/c2_provider.c:397: warning: format '%llx' expects type 'long long unsigned int', but argument 8 has type 'u64'
> drivers/infiniband/hw/amso1100/c2_rnic.c: In function 'c2_rnic_init':
> drivers/infiniband/hw/amso1100/c2_rnic.c:529: warning: format '%llx' expects type 'long long unsigned int', but argument 4 has type 'dma_addr_t'
> drivers/infiniband/hw/amso1100/c2_rnic.c:552: warning: format '%llx' expects type 'long long unsigned int', but argument 4 has type 'dma_addr_t'
> drivers/infiniband/hw/amso1100/c2_alloc.c: In function 'c2_alloc_mqsp':
> drivers/infiniband/hw/amso1100/c2_alloc.c:117: warning: format '%llx' expects type 'long long unsigned int', but argument 4 has type 'dma_addr_t'
> drivers/infiniband/hw/amso1100/c2_ae.c: In function 'c2_ae_event':
> drivers/infiniband/hw/amso1100/c2_ae.c:195: warning: format '%llx' expects type 'long long unsigned int', but argument 4 has type 'u64'
--
Stephen Hemminger <shemminger at osdl.org>
More information about the general
mailing list