Am Dienstag, 11. März 2003 16:43 schrieben Sie: > On Monday 10 March 2003 7:36 pm, Oliver Neukum wrote: > > Am Montag, 10. März 2003 13:59 schrieb Duncan Sands: > > > Hi all, must the transfer_buffer I provide with an urb be > > > aligned on, say, a double-word boundary or something like > > > that? > > > > The alignment requirements are specific to the hardware that happens > > to be used. kmalloc() will return properly aligned memory. > > Hi Oliver, so does that mean yes or no? You imply that there > are alignment limitations, could you please be more explicit. > I am only talking about USB devices here.
That means that you can't tell. So you must assume the worst. The only safe usage with kmalloced memory is to have exactly one buffer per kmalloced area and to start the buffer at offset 0. Sorry Oliver ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel