提交 0624b072 编写于 作者: B Bryan O'Sullivan 提交者: Roland Dreier

IB/ipath: Fix compiler warnings and errors on non-x86_64 systems

Signed-off-by: NBryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: NRoland Dreier <rolandd@cisco.com>
上级 8d588f8b
......@@ -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)))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册