[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YtAjYk41LZCzNfRu@kroah.com>
Date: Thu, 14 Jul 2022 16:08:34 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Andrey Strachuk <strochuk@...ras.ru>
Cc: Peter Chen <peter.chen@...nel.org>,
Pawel Laszczak <pawell@...ence.com>,
Roger Quadros <rogerq@...nel.org>,
Aswath Govindraju <a-govindraju@...com>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb: cdns3: removed useless condition in
cdns3_gadget_ep_dequeue()
On Mon, Jul 11, 2022 at 06:10:32PM +0300, Andrey Strachuk wrote:
> Comparison of 'ep' with NULL is useless since
> 'ep' is a result of container_of and cannot be NULL
> in any reasonable scenario.
ep is nto the result of container_of() in this driver, are you SURE this
is correct?
If so, please show the proper callstack where this is determined.
thanks,
greg k-h
Powered by blists - more mailing lists