[linux-usb-devel] kmalloc needed in usb_get_configuration ?

2003-07-31 Thread Bertin Philippe
'Llo All, I have a (kernel reader newbie) question : In kernel version's 2.4.20's usb.c, function usb_get_configuration(), one sees buffer be kmalloc'ed. Is there a reason why not to just have it declared on the stack (as a char[8]) ? Maybe hardware alignment ? If that last is not the case, then t

[linux-usb-devel] Patch : Select other-than-default configuration when no driver available for the default configuration

2003-08-01 Thread Bertin Philippe
'Llo All, The title seems contradictory : who would want to select another-than-default configuration ? Is the default configuration not _default_, are there no drivers for even the default configuration ? Well, this is indeed not always the case. When a Windows driver e.g. NEEDS the first configu

RE: [linux-usb-devel] Patch : Select other-than-default configuration when no driver available for the default configuration

2003-08-01 Thread Bertin Philippe
ther there will, in the end, be a loaded driver. But at least it gives the chance to the other drivers to take a ticket ... Regards, Philippe Bertin. -Original Message- From: Oliver Neukum [mailto:[EMAIL PROTECTED] Sent: vrijdag 1 augustus 2003 10:58 To: Bertin Philippe; '[EMAIL PROT