Matthieu CASTET wrote: >> You are not handling the case of drivers mapping buffers >> themselves. You need to export this attribute to the drivers. >> > For info here a patch we use on our side (in the usbnet driver). > Yes, If we can agree on a suitable way of exporting the alignment requirement to the driver that would make it possible to make an improved version of this which just uses that information and avoids the ifdefery Martin -- 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