projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dcc0e5
)
IB/ipath: register as IB device owner
author
Bryan O'Sullivan
<bos@pathscale.com>
Tue, 23 May 2006 18:32:36 +0000
(11:32 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Tue, 23 May 2006 20:29:35 +0000
(13:29 -0700)
This fixes an oops.
Signed-off-by: Bryan O'Sullivan <bos@pathscale.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_verbs.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/ipath/ipath_verbs.c
b/drivers/infiniband/hw/ipath/ipath_verbs.c
index
3adb86f
..
28fdbda
100644
(file)
--- a/
drivers/infiniband/hw/ipath/ipath_verbs.c
+++ b/
drivers/infiniband/hw/ipath/ipath_verbs.c
@@
-951,6
+951,7
@@
static void *ipath_register_ib_device(int unit, struct ipath_devdata *dd)
idev->dd = dd;
strlcpy(dev->name, "ipath%d", IB_DEVICE_NAME_MAX);
+ dev->owner = THIS_MODULE;
dev->node_guid = ipath_layer_get_guid(dd);
dev->uverbs_abi_ver = IPATH_UVERBS_ABI_VERSION;
dev->uverbs_cmd_mask =