Skip to content

Commit

Permalink
IB/ipath: Fix compiler warnings and errors on non-x86_64 systems
Browse files Browse the repository at this point in the history
Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
  • Loading branch information
Bryan O'Sullivan authored and Roland Dreier committed Sep 28, 2006
1 parent 8d588f8 commit 0624b07
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions drivers/infiniband/hw/ipath/ipath_file_ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit 0624b07

Please sign in to comment.