On Monday 20 April 2009, Alan Stern wrote: > > > > Use case is pwc webcam driver which calls usb_control_message() with a > > non aligned stack allocated buffer pointer. > > That is a no-no. Drivers are never supposed to allocate buffers on the > stack, for precisely this reason. That and otheres. Cacheline coherency conflicts are another issue; plus the complete lack of guarantees that stack memory is even DMA-safe. > They are supposed to use kmalloc or > something similar. -- 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