git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9afed76
)
IB/umad: Convert *cdev to cdev in struct ib_umad_port
author
Alexander Chiang
<achiang@hp.com>
Tue, 2 Feb 2010 19:08:25 +0000
(19:08 +0000)
committer
Roland Dreier
<rolandd@cisco.com>
Wed, 24 Feb 2010 18:23:43 +0000
(10:23 -0800)
Instead of storing pointers to cdev and sm_cdev, embed the full
structures instead.
This change allows us to use the container_of() macro in ib_umad_open()
and ib_umad_sm_open() in a future patch.
This change increases the size of struct ib_umad_port to 320 bytes
from 128.
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/user_mad.c
patch
|
blob
|
history
diff --cc
drivers/infiniband/core/user_mad.c
Simple merge