lkml.org 
[lkml]   [2004]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Finding user/kernel pointer bugs [no html]
On Thu, Jun 10, 2004 at 07:45:20PM +0100, viro@parcelfarce.linux.theplanet.co.uk wrote:
> On Thu, Jun 10, 2004 at 11:34:42AM -0700, Greg KH wrote:
> > struct usb_mixerdev *ms = (struct usb_mixerdev *)file->private_data;
> > int i, j, val;
> > + int __user *int_user_arg = (int __user *)arg;
>
> Egads... How about changing the name to something that would not be so
> scary?

Ick, sorry about that. Years of writing windows code sometimes pops up
from my subconsious and tries to name things in hungarian notation
style.

I'll go fix up all int_user_arg names that I just added...

thanks,

greg k-h
-
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:03    [W:0.046 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site