• Felipe Balbi's avatar
    usb: gadget: storage: fix sparse warning · f91d2f43
    Felipe Balbi authored
    fsg_common_set_inquiry_string() expects pointers
    as second and third argument. Let's fix that by
    passing NULL instead of plain 0 just so we silence
    sparse's:
    
    drivers/usb/gadget/f_mass_storage.c:3114:60: warning: \
    	Using plain integer as NULL pointer
    drivers/usb/gadget/f_mass_storage.c:3114:63: warning: \
    	Using plain integer as NULL pointer
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    f91d2f43
f_mass_storage.c 97.1 KB