projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b228b43
)
IB/ipath: fix reporting of driver version to userspace
author
Bryan O'Sullivan
<bos@pathscale.com>
Tue, 23 May 2006 18:32:31 +0000
(11:32 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Tue, 23 May 2006 20:27:06 +0000
(13:27 -0700)
Fix the interface version that gets exported to userspace.
Signed-off-by: Bryan O'Sullivan <bos@pathscale.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_file_ops.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/ipath/ipath_file_ops.c
b/drivers/infiniband/hw/ipath/ipath_file_ops.c
index c347191f02bf67ba7fa520e6b29e1e23d4ef8fea..bd14eb1e6529b3d5b2e8ef7f00774e9fe42d3412 100644
(file)
--- a/
drivers/infiniband/hw/ipath/ipath_file_ops.c
+++ b/
drivers/infiniband/hw/ipath/ipath_file_ops.c
@@
-139,7
+139,7
@@
static int ipath_get_base_info(struct ipath_portdata *pd,
kinfo->spi_piosize = dd->ipath_ibmaxlen;
kinfo->spi_mtu = dd->ipath_ibmaxlen; /* maxlen, not ibmtu */
kinfo->spi_port = pd->port_port;
- kinfo->spi_sw_version = IPATH_
USER
_SWVERSION;
+ kinfo->spi_sw_version = IPATH_
KERN
_SWVERSION;
kinfo->spi_hw_version = dd->ipath_revision;
if (copy_to_user(ubase, kinfo, sizeof(*kinfo)))