Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2547309lqp; Mon, 25 Mar 2024 02:05:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVyAzh1GRMc0pOEFAw90dqqao+KF3ayPAjFc0oZ8H2L648amjdb0rFtx3iDdUzic+U9WCWZ1TwA5dd//jAr+aybBYJ6L3AC8W4dk9XPjA== X-Google-Smtp-Source: AGHT+IE0T79+Zzw6fUzJq9Iz/FkbtgyooxLOGm1M6oFOPufNDjlAsH0vE6pPsH/6EY7kYsD2qzon X-Received: by 2002:a05:6a20:72a8:b0:1a3:c4e9:5cbc with SMTP id o40-20020a056a2072a800b001a3c4e95cbcmr2347395pzk.49.1711357518798; Mon, 25 Mar 2024 02:05:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711357518; cv=pass; d=google.com; s=arc-20160816; b=GB0fbhBF9q3s53OeushLudD1NOtI0Ox8bSHVXVmiA/QwwDQMdx9pmEaaEUK4xQene/ RryDVjG8sOT2qHXS/xyoPK9m5sKaYiXWHU/sI/yKalaSsZa0g+2rUZ6/GnQ8iP8/4/cv wcoEp8rA0RLh9ayAX8kQShziEHAA8/aYMipHWVl45HFqjZLpbfTMzYHeEvw25U7bShjt Oip1HuaO0YJ8DJn70v3J1bM92d8BgNbt/B6Hd3w9hGYVEjCv9RVhV1SHyqSMUS4BSm2X 6y2VaNzWz5AbQ8kEmcWMpfhhNjXH7Ny0J966Ktgj8RuvfnJAPIi7qc3yMQzOCnP8ayeU LPiA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=aS6BoLxXRSIigTZd8VC+yZYti5pkMKeCP3bNyGSpAXI=; fh=K18iFeU3MFO5Ac/k09CvyI9e43odijaoJWecpOopA9s=; b=L02ktgSrikdD8tuQdPXHCvvnsEzr2ocq5t+bFJz+hRztis3Q7hiha938dgqfuKeSua iD51AjN6BZFF+kbeoLwBmkvTgrkZh1hbWMs9Nm0d1sCtBR7gBgvniYm/GCT8p0xZwKf7 BVaVLgcn5l99aPaZsSsJaZOweRcikqGMKdddjzuruf51FTFy7nyajwOMLE6GwVhZpfyV d5MVNBOuAkqcdGlOhighuw+zMhA2Zf8m3ER1rO/0Ix8hkx5ozAFDWA+AN14lEtoy4tRB 6iHpEArIbbjixpQcIL/dC2aEyb83Y0n4KFO92Jp7Qoj+ClhHb3hNv0K98gpcNL+YbOHX A92A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GySkVJsz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115987-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115987-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id bh3-20020a170902a98300b001e0a1e6197esi4559997plb.182.2024.03.25.02.05.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 02:05:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-115987-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GySkVJsz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115987-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115987-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id B3201B32444 for ; Mon, 25 Mar 2024 08:13:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D9C3A23849F; Mon, 25 Mar 2024 03:05:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GySkVJsz" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 248F6237B7E; Sun, 24 Mar 2024 23:18:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711322317; cv=none; b=WceXkxcBS8QRw6WLqIslspYcgYEBLIY7qt3JwlIZKWy7gADqno+fpqM6VpGckEpabuudEvo9fRnwoAi/aGePm3l2gX0opAx3eXBjaL3pqiMi88/89/zxHVTJ5fo48auhN7R995VSp9SwVT7CDcnxchFLG4Yqt50+BpFsI6vChpc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711322317; c=relaxed/simple; bh=5ex7yP4jprfK8YUjgXF5PPPPCNtG9gQ87hwsbntwqpk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YdMIZXLw6qSQM9A6VcrwNFgN8Rym9uC6K2JCyJX6qe/mgXpNkl0YMCLLJh5QwupagmEJjD4YAKdnsIWGQjB1c14XUFIWHWUAHEmbyVxvHwRwWslz09J9c86RA8L8mK2iiJpXWBNNuD1LdiWlQ2SBiPtbTpJ+uvGI6vcexpT44Hw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GySkVJsz; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EBF02C43390; Sun, 24 Mar 2024 23:18:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711322316; bh=5ex7yP4jprfK8YUjgXF5PPPPCNtG9gQ87hwsbntwqpk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GySkVJsz+UKX/MnUicxAzfQvPwurgbWaYnlGkBnK+O8NHlWhjJ8TFnK+u4/9wiZGO D2PI9rrcweLAZ8Sb96QNUWS4uobBKl6omg9nUP4h+JjfGVW8iI+J8TCd+9C8XwvjOn IV4HPMec1tfU+Yj7hMsV8WPhwsUvJ0VS5iLHWT9KVwuEy90ZdDcBmp1NozqnVAUVfP vngh0SMyMZwE7VO/CDSC6URmtE0IsoLTpq54jkoK9UXjpfmHkYZ4Qilzoolx+taZcE xwchlT4hGL6g2hFc3mw5JbYgBbSvdSVux2exa+i6Qn92oIXG5J2UxTomrw/62nCgoq 1ygsckaOl9vNQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Colin Ian King , Alan Stern , Greg Kroah-Hartman , Sasha Levin Subject: [PATCH 6.1 399/451] usb: gadget: net2272: Use irqflags in the call to net2272_probe_fin Date: Sun, 24 Mar 2024 19:11:15 -0400 Message-ID: <20240324231207.1351418-400-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324231207.1351418-1-sashal@kernel.org> References: <20240324231207.1351418-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Colin Ian King [ Upstream commit 600556809f04eb3bbccd05218215dcd7b285a9a9 ] 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 Acked-by: Alan Stern Link: https://lore.kernel.org/r/20240307181734.2034407-1-colin.i.king@gmail.com Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/usb/gadget/udc/net2272.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/udc/net2272.c b/drivers/usb/gadget/udc/net2272.c index 538c1b9a28835..c42d5aa99e81a 100644 --- a/drivers/usb/gadget/udc/net2272.c +++ b/drivers/usb/gadget/udc/net2272.c @@ -2650,7 +2650,7 @@ net2272_plat_probe(struct platform_device *pdev) goto err_req; } - ret = net2272_probe_fin(dev, IRQF_TRIGGER_LOW); + ret = net2272_probe_fin(dev, irqflags); if (ret) goto err_io; -- 2.43.0