]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
IB/ipath: Fix compiler warnings and errors on non-x86_64 systems
authorBryan O'Sullivan <bos@pathscale.com>
Thu, 28 Sep 2006 16:00:09 +0000 (09:00 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 28 Sep 2006 18:16:45 +0000 (11:16 -0700)
Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_file_ops.c

index caf8cb891da4116ea062e111966826fd38f81922..d4fc4118ddd57d8591d793070e87962a72f08e0e 100644 (file)
@@ -206,11 +206,10 @@ static int ipath_get_base_info(struct file *fp,
                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)))