Files
linux/drivers/usb/serial
Dan Carpenter 9bd5eb396f USB: serial: mos7720: fix error code in mos7720_write()
commit fea7372cbc upstream.

This code should return -ENOMEM if the kmalloc() fails but instead
it returns success.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: 0f64478cbc ("USB: add USB serial mos7720 driver")
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-16 10:38:29 +09:00
..
2023-05-15 12:49:06 +09:00
2015-12-18 09:30:34 -08:00