Skip to content
Commit fea7372c authored by Dan Carpenter's avatar Dan Carpenter Committed by Johan Hovold
Browse files

USB: serial: mos7720: fix error code in mos7720_write()



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

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Fixes: 0f64478c ("USB: add USB serial mos7720 driver")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 55317e22
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment