Re: [PATCH][RELEASE] megaraid 2.10.2 Driver

From: Jeff Garzik
Date: Fri Apr 16 2004 - 21:16:41 EST

Bagalkote, Sreenivas wrote:
ummmm what??? uxferaddr is u32. why are you casting it to a pointer?

Both copy_to_user and copy_from_user take pointers, don't they?

Yes, but consider on x86-64 a native pointer is _always_ 32-bit, therefore the interface is broken if it assumes the input pointer is 32 bits.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at