Am Dienstag, 22. Mai 2007 15:28 schrieb Laurent Pinchart: > I'd like to change usb_buffer_alloc to make it a general purpose allocator. A > parameter would tell the function to just allocate memory (default behaviour)
Nope. What for? We avoid such flags if we can. If you need two version, create two functions. And before that, what's the advantage over kmalloc? Regards Oliver -- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) This signature is a legal requirement ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel