Messages in this thread | | | Date | Sun, 10 Mar 2024 12:20:40 +0100 | From | Uwe Kleine-König <> | 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@gmail.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Suggested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Best regards Uwe
-- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ | [unhandled content-type:application/pgp-signature] | |