[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YFnSe716okrldCHJ@kroah.com>
Date: Tue, 23 Mar 2021 12:35:23 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Jia-Ju Bai <baijiaju1990@...il.com>
Cc: balbi@...nel.org, weiyongjun1@...wei.com,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb: gadget: legacy: fix error return code of msg_bind()
On Sun, Mar 07, 2021 at 12:49:15AM -0800, Jia-Ju Bai wrote:
> When usb_otg_descriptor_alloc() returns NULL to usb_desc, no error
> return code of msg_bind() is assigned.
> To fix this bug, status is assigned with -ENOMEM in this case.
>
> Reported-by: TOTE Robot <oslab@...nghua.edu.cn
> Reported-by: TOTE Robot <oslab@...nghua.edu.cn>>
These lines are not written correctly :(
Please fix up and resend.
thanks,
greg k-h
Powered by blists - more mailing lists