[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <hycmac4toie3uk7xvgrgqrcw5f2vi2sm4j45ca5coc4qs7orec@gtigekcag6d6>
Date: Sun, 10 Mar 2024 12:20:40 +0100
From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
To: Colin Ian King <colin.i.king@...il.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Roy Huang <roy.huang@...log.com>, Ash Aziz <ash.aziz@...tech.com>,
Mike Frysinger <vapier@...too.org>, Seth Levy <seth.levy@...tech.com>, linux-usb@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next][V2] usb: gadget: net2272: Use irqflags in the call
to net2272_probe_fin
Hello,
On Thu, Mar 07, 2024 at 06:17:34PM +0000, Colin Ian King wrote:
> Currently the variable irqflags is being set but is not being used,
> it appears it should be used in the call to net2272_probe_fin
> rather than IRQF_TRIGGER_LOW being used. Kudos to Uwe Kleine-König
> for suggesting the fix.
>
> Cleans up clang scan build warning:
> drivers/usb/gadget/udc/net2272.c:2610:15: warning: variable 'irqflags'
> set but not used [-Wunused-but-set-variable]
>
> Fixes: ceb80363b2ec ("USB: net2272: driver for PLX NET2272 USB device controller")
>
> Signed-off-by: Colin Ian King <colin.i.king@...il.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Suggested-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists