usb: gadget: u_serial: add missing port entry locking
Greg Kroah-Hartman
maintainerPATCH v3 1/5 usb: gadget: u_serial: add missing port entry locking
Quoted 6 lines · Michał Mirosław
gserial_alloc_line()misses locking (for a release barrier) while resetting port entry on TTY allocation failure. Fix this.Signed-off-by Michał Mirosław <[email protected]>
Reviewed-by Greg Kroah-Hartman <[email protected]>