[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 9 Sep 2022 12:21:44 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Li Zhong <floridsleeves@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
heghedus.razvan@...il.com, evgreen@...omium.org,
yuanjilin@...rlc.com, stern@...land.harvard.edu,
jj251510319013@...il.com
Subject: Re: [PATCH v1] drivers/usb/core/driver: check return value of
usb_set_interface()
On Thu, Sep 08, 2022 at 09:42:14PM -0700, Li Zhong wrote:
> Check return value of usb_set_interface() and report error if it fails.
> Otherwise usb_set_interface() may fail without any warnings.
>
> This flaw was found using an experimental static analysis tool we are
> developing. Report warnings when the function usb_set_interface() fails
> can increase the dianosability.
How did you test this change?
Powered by blists - more mailing lists