]> git.openfabrics.org - ~shefty/rdma-win.git/commit
[IBAL] Remove TO_LONG_PTR from IOCTL structures.
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 13 Jul 2008 10:51:31 +0000 (10:51 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 13 Jul 2008 10:51:31 +0000 (10:51 +0000)
commit6f290ce03a03a1d1c0f7c92cbe18a479cba37451
tree899e7f3a2724914b32affce7e3fd48675f7fb52f
parent6e5e4341514c97abcbce6b408d2b42796060db3b
[IBAL] Remove TO_LONG_PTR from IOCTL structures.

This patch removes all instances of TO_LONG_PTR from internal IOCTL structures.  The only place TO_LONG_PTR should be used is in public structures that contain pointers and are exchanged between user-mode and kernel-mode.  Actually, the code should ideally have proxy structures for such API structures into which API structure members
are copied member-wise, and whose size is fixed.  Unused pointers should be stripped from the IOCTL proxy structures.  But that's a change for some other time...

All fields in internal IOCTL structures that were formerly TO_LONG_PTR are not uint64_t, and all uses have appropriate casts.

Signed-off-by: Fab Tillier <ftillier@microsoft.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1386 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
21 files changed:
trunk/core/al/al_mad_pool.h
trunk/core/al/al_proxy_ioctl.h
trunk/core/al/kernel/al_proxy.c
trunk/core/al/kernel/al_proxy_cep.c
trunk/core/al/kernel/al_proxy_ndi.c
trunk/core/al/kernel/al_proxy_subnet.c
trunk/core/al/kernel/al_proxy_verbs.c
trunk/core/al/kernel/al_smi.c
trunk/core/al/kernel/al_smi.h
trunk/core/al/user/ual_ca.c
trunk/core/al/user/ual_cm_cep.c
trunk/core/al/user/ual_cq.c
trunk/core/al/user/ual_mad.c
trunk/core/al/user/ual_mcast.c
trunk/core/al/user/ual_mgr.c
trunk/core/al/user/ual_pd.c
trunk/core/al/user/ual_pnp.c
trunk/core/al/user/ual_qp.c
trunk/core/al/user/ual_sa_req.c
trunk/core/al/user/ual_srq.c
trunk/inc/iba/ib_al_ioctl.h