lkml.org 
[lkml]   [2004]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][RELEASE] megaraid 2.10.2 Driver
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.

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.572 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site