diff options
author | Bryan O'Sullivan <bos@pathscale.com> | 2006-09-28 12:00:09 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-09-28 14:16:45 -0400 |
commit | 0624b072f230af4f24c112019b04f898ef7b4e2c (patch) | |
tree | e3ea265f2945f913594d9017c87e91ea6035d6d6 /drivers | |
parent | 8d588f8bb79c86a5826f66946c1ea026b6b07bd8 (diff) |
IB/ipath: Fix compiler warnings and errors on non-x86_64 systems
Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_file_ops.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_file_ops.c b/drivers/infiniband/hw/ipath/ipath_file_ops.c index caf8cb891da4..d4fc4118ddd5 100644 --- a/drivers/infiniband/hw/ipath/ipath_file_ops.c +++ b/drivers/infiniband/hw/ipath/ipath_file_ops.c | |||
@@ -206,11 +206,10 @@ static int ipath_get_base_info(struct file *fp, | |||
206 | kinfo->spi_subport_rcvhdr_base = | 206 | kinfo->spi_subport_rcvhdr_base = |
207 | (u64) pd->subport_rcvhdr_base & MMAP64_MASK; | 207 | (u64) pd->subport_rcvhdr_base & MMAP64_MASK; |
208 | ipath_cdbg(PROC, "port %u flags %x %llx %llx %llx\n", | 208 | ipath_cdbg(PROC, "port %u flags %x %llx %llx %llx\n", |
209 | kinfo->spi_port, | 209 | kinfo->spi_port, kinfo->spi_runtime_flags, |
210 | kinfo->spi_runtime_flags, | 210 | (unsigned long long) kinfo->spi_subport_uregbase, |
211 | kinfo->spi_subport_uregbase, | 211 | (unsigned long long) kinfo->spi_subport_rcvegrbuf, |
212 | kinfo->spi_subport_rcvegrbuf, | 212 | (unsigned long long) kinfo->spi_subport_rcvhdr_base); |
213 | kinfo->spi_subport_rcvhdr_base); | ||
214 | } | 213 | } |
215 | 214 | ||
216 | if (copy_to_user(ubase, kinfo, sizeof(*kinfo))) | 215 | if (copy_to_user(ubase, kinfo, sizeof(*kinfo))) |