Driver was taking max() of a size_t and u32 which causes complaint about comparison of different types. Stumbled on this accidently in my config, never used. Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxxxx> --- a/drivers/usb/gadget/u_ether.c 2011-03-01 22:35:33.762614530 -0800 +++ b/drivers/usb/gadget/u_ether.c 2011-03-01 22:35:49.050375360 -0800 @@ -241,7 +241,7 @@ rx_submit(struct eth_dev *dev, struct us size -= size % out->maxpacket; if (dev->port_usb->is_fixed) - size = max(size, dev->port_usb->fixed_out_len); + size = max_t(size_t, size, dev->port_usb->fixed_out_len); skb = alloc_skb(size + NET_IP_ALIGN, gfp_flags); if (skb == NULL) { -- 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