Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2400879lqp; Sun, 24 Mar 2024 17:56:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVTOSgweuSTyJOlBen7NARV2S6cXXoBauXWc6JrKjHuYo6iwWj2cerjVmp0hZKV1wKU9Ldy8hYRxOB8wNXUP/RaGayUqSmzoxCiGTHVTQ== X-Google-Smtp-Source: AGHT+IHHrt7GvVWWXU2bh8reOKWf5I0+DiP0sI6s+FM0o3OQkYGefZSqEnYbhpTgpx564YBllntM X-Received: by 2002:a05:620a:6013:b0:78a:4360:1bb5 with SMTP id dw19-20020a05620a601300b0078a43601bb5mr7759734qkb.23.1711328195032; Sun, 24 Mar 2024 17:56:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711328195; cv=pass; d=google.com; s=arc-20160816; b=mYdjsDo4pcfYBiDzedkKy8OcMmK4sg1PVVsN2Y+JklwhM8SnG93jAw0X+wd2EgbTjr yt7siEGBFjhrx+F+wq1c4KNQ5lWf4F5GJVlxC0Dwc1xSRXeVnrQc365e2/F/oYpusT5f lpIlbq/UatkijWTsXy3EGPqCX/dvZCjf7i1sCHAWC21WPqecT04JVeWqFCuLpDseDkUj ++EvqXeqTcbKZdIC+VoN87na14KfhKPFvAzlRH1FMbP9svh6RjaajN9MkmeQT/gJ4CU5 FhmYlYd8mATQZp61C4C2gzhCSd1wJgTUiqYb+MW3YYcv1i+IdoBAuuDHrgkrdZOBJDc5 LjNw== 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=kb4tUL76L0GkVL5fj1KXiULPveABj7JUpvJLGq0nbEE=; fh=K18iFeU3MFO5Ac/k09CvyI9e43odijaoJWecpOopA9s=; b=tIH+R4ytNcVirtacCJRJXoBYuYfUKXDHDt2qHOS8mTQ4L9AfMX/+V5ldnIaaWpqbAl Ar0NXfbnZV0RLIOIW8ZRWlkOB6sQS5kzebti1oJFHEZ+DJ/rGA3Mh1fgGA/KtfQqRr+Z xCnEshlvZubdIFU9h1mO38cn0lpypXlglvr6EyXZo4VeIz7eK+XxvoMe3YSEjdtUY/r+ rmKDrSt5/xMzgmqsBXcYST0P1w01S/lYYqsZrRJN4iBwGVu3jz322W8zjz1dnlQ1KO/l V+SwTG7GrOezhNpv4j8C6qJaylBYrsgri1/2Eu4ELFJjV1MCNNy15Efy3ZJu2cUKoxA2 yIxg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GZTZN2gr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113524-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113524-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c3-20020ad45ae3000000b006968bb7eb8esi1461686qvh.510.2024.03.24.17.56.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 17:56:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113524-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GZTZN2gr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113524-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113524-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id B1CF11C2446F for ; Mon, 25 Mar 2024 00:56:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 042821BE7F0; Sun, 24 Mar 2024 22:45:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GZTZN2gr" 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 1B97613DDDD; Sun, 24 Mar 2024 22:45:26 +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=1711320326; cv=none; b=eRRLbbieaUUwDA19QkKvkRoVT8e//3EHS+zFD937Ij7T8iv5lHpXLtQXG/BBsbsIdMG9j6kHmJJsYWK0aXa61gcoxRM3+8kwv3K/VWu29EQsVFDujLI2P3BLRpL5aXDwlTOLceaEVArPMYUXG9sO81rIzbUuvfkpm1eFLjuNYCA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320326; c=relaxed/simple; bh=UC4iSRp+k3B2QXRMpvz/N5o6qCS5pztBlHZU2CKkeCE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Bcbum84flnrsrqJjBOs/upQnbCYhlpo1FlQqQ0PjaZv6sMYVjTsLLweOaItQozq4ceWytKxANeI/m5EJ7/fdEqhUPpQLJfAy5cVtuNEOlMH8s1Q2caSe/YE8VL/rcUI+VgHFp4ofLq5xt3LMiqu3ejx2LEjZzUhV863qapkPiI8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GZTZN2gr; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46A8BC433F1; Sun, 24 Mar 2024 22:45:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320326; bh=UC4iSRp+k3B2QXRMpvz/N5o6qCS5pztBlHZU2CKkeCE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GZTZN2grvqjTes5c6K320tcTrf5tXP7bRiR+f/7ZjNRB7+f7KzXLKpnYj1RIdcYJE Q3ImAc/Aqlo11ECrXeW6pOh9FHrn66l3BGM29tpHW6VgfluMJ77I6RTtcRsweQdBRc GrtfnauNK00Ii3UHKb5nQFc20phy3H4O5L7RWyvU1lly1dO52oIInwBj9UX9WW8Q// IViG3cZZ7BZr0ixH8u32P76GTOtiv3nkXkesTok7Jt7I2QAozivSigbVJRZZuylc8I 4rDYaxe6NvHFvpOE5Kvpouf3T24kSlDQejELc1n7TV9Cemw63Dt5Yg7rDsMm34gFks 1zfiZBBK+Ajsg== 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.8 633/715] usb: gadget: net2272: Use irqflags in the call to net2272_probe_fin Date: Sun, 24 Mar 2024 18:33:32 -0400 Message-ID: <20240324223455.1342824-634-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-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 12e76bb62c209..19bbc38f3d35d 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