diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-01-28 12:35:23 +0300 |
|---|---|---|
| committer | Johan Hovold <johan@kernel.org> | 2021-01-28 10:57:22 +0100 |
| commit | fea7372cbc40869876df0f045e367f6f97a1666c (patch) | |
| tree | 0d9fa8d857e04f1a79b99ad1bdb7e2678ec569a9 /lib/mpi/mpi-sub-ui.c | |
| parent | 55317e22391ffc5aa297c3a617c8c3302fb184b6 (diff) | |
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: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: 0f64478cbc7a ("USB: add USB serial mos7720 driver")
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
