[openib-general] [PATCH 13 of 28] IB/ipath - fix compiler warnings and errors on non-x86_64 systems
Bryan O'Sullivan
bos at pathscale.com
Thu Sep 28 09:00:09 PDT 2006
Signed-off-by: Bryan O'Sullivan <bryan.osullivan at qlogic.com>
diff -r a7ba4b73f972 -r 2a328f7db58f drivers/infiniband/hw/ipath/ipath_file_ops.c
--- a/drivers/infiniband/hw/ipath/ipath_file_ops.c Thu Sep 28 08:57:12 2006 -0700
+++ b/drivers/infiniband/hw/ipath/ipath_file_ops.c Thu Sep 28 08:57:12 2006 -0700
@@ -206,11 +206,10 @@ static int ipath_get_base_info(struct fi
kinfo->spi_subport_rcvhdr_base =
(u64) pd->subport_rcvhdr_base & MMAP64_MASK;
ipath_cdbg(PROC, "port %u flags %x %llx %llx %llx\n",
- kinfo->spi_port,
- kinfo->spi_runtime_flags,
- kinfo->spi_subport_uregbase,
- kinfo->spi_subport_rcvegrbuf,
- kinfo->spi_subport_rcvhdr_base);
+ kinfo->spi_port, kinfo->spi_runtime_flags,
+ (unsigned long long) kinfo->spi_subport_uregbase,
+ (unsigned long long) kinfo->spi_subport_rcvegrbuf,
+ (unsigned long long) kinfo->spi_subport_rcvhdr_base);
}
if (copy_to_user(ubase, kinfo, sizeof(*kinfo)))
More information about the general
mailing list