Hi USB ML Linux have many usb_endpoint_xxx(), but I couldn't find usb_endpoint_maxp(); and all (?) driver seems use le16_to_cpu(desc->wMaxPacketSize) directly. Are there big reason ? I think usb_endpoint_maxp() is readable. Can I create below ? static inline int usb_endpoint_maxp(const struct usb_endpoint_descriptor *epd) { return le16_to_cpu(epd->wMaxPacketSize); } Best regards --- Kuninori Morimoto -- 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