commit | 2b937afcab34e4f739e2f7cd6062870fbe6b2ccf | [log] [tgz] |
---|---|---|
author | Alexander Chiang <achiang@hp.com> | Tue Feb 02 19:08:25 2010 +0000 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Feb 24 10:23:43 2010 -0800 |
tree | 7accb5590cf403ed8dec397c70f917ae9181b1f3 | |
parent | 9afed76d59749f1b95e5e1d7d5bc4c3041852aa9 [diff] |
IB/umad: Convert *cdev to cdev in struct ib_umad_port 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>