It's a matter of avoiding typecasts everywhere. We get a void*, and we send void* on to other places.
If you look at one of the other patches I sent today, you'll notice that if you apply it, you'll get warnings because of the disparity. I guess we could fix it by switching everything to char* instead, if that's the preferred way.... Matt On Sun, Nov 17, 2002 at 03:46:37PM -0800, Greg KH wrote: > On Sun, Nov 17, 2002 at 03:38:46PM -0800, Matthew Dharm wrote: > > This patch changes the data buffer type from char* to void*, and fixes some > > problems with debug prints and comments. > > Why the change to a void*? What does this help with? > > Generally it's a good thing to not use void *. > > thanks, > > greg k-h > _______________________________________________ > usb-storage mailing list > [EMAIL PROTECTED] > http://www2.one-eyed-alien.net/mailman/listinfo/usb-storage -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver DP: And judging from the scores, Stef has the sma... T: LET'S NOT GO THERE! -- Dust Puppy and Tanya User Friendly, 12/11/1997
msg09474/pgp00000.pgp
Description: PGP signature