• Jingoo Han's avatar
    usb: gadget: f_mass_storage: use NULL instead of 0 · 136c489b
    Jingoo Han authored
    The local variables such as 'filename', 'vendor_name', and
    'product_name' are pointers; thus, use NULL instead of 0 to fix
    the following sparse warnings
    
    drivers/usb/gadget/f_mass_storage.c:3046:27: warning: Using plain integer as NULL pointer
    drivers/usb/gadget/f_mass_storage.c:3050:28: warning: Using plain integer as NULL pointer
    drivers/usb/gadget/f_mass_storage.c:3051:29: warning: Using plain integer as NULL pointer
    Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    136c489b
f_mass_storage.c 84.6 KB