Messages in this thread | | | Date | Thu, 10 Jun 2004 11:54:51 -0700 | From | Greg KH <> | Subject | Re: 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/
| |