diff options
Diffstat (limited to 'drivers/infiniband')
-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))) |