Loading drivers/usb/gadget/function/f_cdev.c +4 −0 Original line number Diff line number Diff line Loading @@ -1770,6 +1770,10 @@ static int cser_set_inst_name(struct usb_function_instance *f, const char *name) /* get port number */ str = strrchr(name, '.'); if (!str) { pr_err("err: port number not found\n"); return -EINVAL; } pr_debug("str:%s\n", str); *str = '\0'; Loading Loading
drivers/usb/gadget/function/f_cdev.c +4 −0 Original line number Diff line number Diff line Loading @@ -1770,6 +1770,10 @@ static int cser_set_inst_name(struct usb_function_instance *f, const char *name) /* get port number */ str = strrchr(name, '.'); if (!str) { pr_err("err: port number not found\n"); return -EINVAL; } pr_debug("str:%s\n", str); *str = '\0'; Loading