fn from_ptr<T>(p: *mut T) -> u64 {
    unsafe {
        transmute::<_, usize>(p) as u64
    }
}
/// KMS ioctl's accept 64 bit integers for pointers. So we must
/// convert between pointers and u64.
KMS ioctl's accept 64 bit integers for pointers. So we must
convert between pointers and u64.
KMS ioctl ' s accept 64 bit integers for pointers . So we must convert between pointers and u64 .
fn from_ptr<T>(p: *mut T) -> u64 {
    unsafe {
        transmute::<_, usize>(p) as u64
    }
}
fn from_ptr < T > ( p : * mut T ) -> u64 { unsafe { transmute :: < _ , usize > ( p ) as u64 } }
KMS ioctl's accept 64 bit integers for pointers.
KMS ioctl ' s accept 64 bit integers for pointers .
p
*mut T