Re: [PATCH 1/2] USB: Allow HCDs to specifiy their DMA alignment requirements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




--- On Thu, 9/2/10, Oliver Neukum <oneukum@xxxxxxx> wrote:

> > 
> >
> > Passing a pointer to a few bytes inside of a
> > kmalloc'd block has always been legit, even if
> > that pointer isn't aligned to N!=1 bytes.
> 
> Is that also true with respect to usb_alloc_coherent() ?

Why wouldn't it be?  The buffer pointer is valid...


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux