diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-08-05 12:11:05 +0900 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-08-09 16:33:34 +0300 |
commit | 136c489b1cdcaad8f3da31298b839b5861d9de6d (patch) | |
tree | 6784baa308eeccc613b867c309cca2a134c110d5 /drivers/usb/gadget/rndis.c | |
parent | ffcba5a510af99e9d443b7e577a9cb0515c919e1 (diff) |
usb: gadget: f_mass_storage: use NULL instead of 0
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: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/rndis.c')
0 files changed, 0 insertions, 0 deletions