• Felipe Balbi's avatar
    usb: gadget: langwell_udc: fix compile warnings · b9af9ea4
    Felipe Balbi authored
    This patch fixes the following compile warnings:
    
    drivers/usb/gadget/langwell_udc.c: In function ‘queue_dtd’:
    drivers/usb/gadget/langwell_udc.c:596:2: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    drivers/usb/gadget/langwell_udc.c: In function ‘langwell_udc_probe’:
    drivers/usb/gadget/langwell_udc.c:3274:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat]
    drivers/usb/gadget/langwell_udc.c:3289:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat]
    drivers/usb/gadget/langwell_udc.c: In function ‘langwell_udc_resume’:
    drivers/usb/gadget/langwell_udc.c:3473:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat]
    drivers/usb/gadget/langwell_udc.c:3487:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat]
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    b9af9ea4
langwell_udc.c 89.2 KB