Re: [PATCH] USB: serial: mos7840: fix error code in mos7840_write()
From: Johan Hovold <johan@kernel.org>
Date: 2021-01-26 14:35:04
Also in:
kernel-janitors
From: Johan Hovold <johan@kernel.org>
Date: 2021-01-26 14:35:04
Also in:
kernel-janitors
On Tue, Jan 26, 2021 at 01:26:54PM +0300, Dan Carpenter wrote:
This should return -ENOMEM instead of 0 if the kmalloc() fails.
Fixes: 3f5429746d91 ("USB: Moschip 7840 USB-Serial Driver")
Signed-off-by: Dan Carpenter <redacted>Applied, thanks. Johan