From: Johan Hovold Date: Tue, 26 Jan 2021 14:31:26 +0000 Subject: Re: [PATCH] USB: serial: mos7840: fix error code in mos7840_write() Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: Johan Hovold , Greg Kroah-Hartman , Paul B Schroeder , linux-usb@vger.kernel.org, kernel-janitors@vger.kernel.org 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 Applied, thanks. Johan