From: Alexander Chiang Date: Tue, 2 Feb 2010 19:08:25 +0000 (+0000) Subject: IB/umad: Convert *cdev to cdev in struct ib_umad_port X-Git-Tag: v2.6.34-rc1~225^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b937afcab34e4f739e2f7cd6062870fbe6b2ccf;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed