[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YtAjkUtY7QoJ0SAp@kroah.com>
Date: Thu, 14 Jul 2022 16:09:21 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Andrey Strachuk <strochuk@...ras.ru>
Cc: Peter Chen <peter.chen@...nel.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
ldv-project@...uxtesting.org
Subject: Re: [PATCH] usb: remove useless condition _ep_queue()
On Mon, Jul 11, 2022 at 06:25:03PM +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.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Signed-off-by: Andrey Strachuk <strochuk@...ras.ru>
> Fixes: 2dbc5c4c8314 ("usb: chipidea: get rid of camelcase names")
> ---
> drivers/usb/chipidea/udc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Subject line is wrong :(
Also this is not a "Fix".
Powered by blists - more mailing lists