Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp372102lqo; Fri, 10 May 2024 02:28:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW1xGa5fPTTfJQ4Wkg/ASL6CbjkJBugGHUl2qPDufAuk+LDKNuZNv/JM9AzzGTHOGtiED/3MAthgwynNKEbx5u5yI/KJLdR/g5fJQ2iMA== X-Google-Smtp-Source: AGHT+IHQSbQU1+UqsRu0u/xvPpbJZiB80Q1yF/vqUGAqhK/kysBISC49FFprxS46atv3Z0g240Bn X-Received: by 2002:a05:6214:5881:b0:6a0:6676:f1c8 with SMTP id 6a1803df08f44-6a16824d2f4mr18147136d6.59.1715333307845; Fri, 10 May 2024 02:28:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715333307; cv=pass; d=google.com; s=arc-20160816; b=W6n5U1SbntoOvQ1YdQPBVBs7o/4rLkIyLcplWIyPYw1ZiuBpPwIzD+pQNvffSRpvfA iTeWJEIaWHA8XYJzDG9zwy36L0sqGJT51sOgsV8RsDdYwZPKmZa6WKmuHE0WDqBOZ+et c9A281opWDtcML/7rrel6uRmwQCu1fBfdYMS0CPkXQcPx6hnm44PiX36sOHyz8rDji9Z zBL+e9O55JDT81sCQm4WFOCT3w05XFYs19X4Pqe8q7Zh4hBY1jo3v/8mwh2fOEcVitzl A7HRAIt5z2bvbbcbxQUOeGva1AW+h22T/fS8uhd7o7HKy+yuyZEaGurDRJ6RGq+oJLeZ jWrQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=nVJpC5LM1iTnq5Vh3trZOmurcnaD3whJ+r+iU+cU2P4=; fh=+7pBw0MMl+7qdnrzPMF1vYIZnXLswx4ohnalqCnhWUI=; b=R2SRRu6f/EtyzEou78W5DZlhz7RgCCdF2MGW+jU2avWlpLf+GL8OL40ojMyt7wt2FP pjSsvneW4VthMEEDPzZ2226V8shDXGlVJBcVIxIhgW1IqNZAQe/QzaEAqlIHcifM78QP Au2fDRBZ4EXJ+ERlOvm2QUlGPVwWmpihiqY4QehKyMmJJGRdkbxM7DGlzFkvx3e6TL60 n0bRqfHtq6+smtJ7kQANj0JyoEh1ummPmAc5KoMobMktf81NuB5cx+2geylZ2aBl0Z19 aqqa0MzmVEOs4h4T3p/MCnAOxIyUfcNC/ZP9LzxgkPeqpnwx1PFbVCRkLnEudzzfrcZ5 7YSA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JZLPdWRa; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-175529-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175529-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f29aa6bsi33680526d6.203.2024.05.10.02.28.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 02:28:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175529-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=@linuxfoundation.org header.s=korg header.b=JZLPdWRa; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-175529-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175529-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 8ED691C20D40 for ; Fri, 10 May 2024 09:28:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DE671161337; Fri, 10 May 2024 09:28:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="JZLPdWRa" 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 04F371581E3; Fri, 10 May 2024 09:28:19 +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=1715333300; cv=none; b=dfGQ1WDicQewvK6ZUfGRZ1peeU5hSWYpI6K7a5Fa1LlCe17aC21oY4J5iGgkHUC9DFXedXVyKujtEKq5fS/wX1szf8x+/Yd5B1BjK0m3J2X5tVuc85W2rBn1uwwqrnUdA7Gp5LWZf1B7sP2frbWojQHCPYLu49FQDMtAIWtO9Yg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715333300; c=relaxed/simple; bh=dxTRjOQB8hV7hmmGL+CDfSzZsS7tWt/RvqCgX+Aa4Nk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uq99qK0ll5sgi0+HTg4dUu7ZbnWKKwTakO6QFr19OdJHL+SJ6Q6mjTdtbUANUSIm93pD2oWuV/IMx4yOcSEapBXoJ7GxoiVoHsagzYp1ylsU5HHHGciM5Odm/qBPPL8wpE0XAZ7KuSTMya1ZX1yBI+sBPj5AA4HHNrtDsxlNJX0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JZLPdWRa; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5CFBC113CC; Fri, 10 May 2024 09:28:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715333299; bh=dxTRjOQB8hV7hmmGL+CDfSzZsS7tWt/RvqCgX+Aa4Nk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JZLPdWRaFF9cWZ1jbLzizYe53nqJZV9fwPKG5mQ8v0hCrqLuVNJx058fmrHjSq5AW 2iX4dOByuR03/AEs6abnHDnvGp7dWIoDjqUBkk29ICt7ZCMGQIMjDrZi3wwgJj7f8q oL8oA5CRE1GZI/XZTu5SFF6O9pOFCXTveAbcFkqs= Date: Fri, 10 May 2024 10:28:14 +0100 From: Greg Kroah-Hartman To: Thinh Nguyen Cc: Krishna Kurapati , "linux-kernel@vger.kernel.org" , "linux-usb@vger.kernel.org" , "quic_ppratap@quicinc.com" , "quic_jackp@quicinc.com" , kernel test robot Subject: Re: [PATCH v2] usb: dwc3: core: Fix unused variable warning in core driver Message-ID: <2024051050-pantomime-sudden-a382@gregkh> References: <20240506074939.1833835-1-quic_kriskura@quicinc.com> <20240508230839.utioi5i2c5kozm4d@synopsys.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240508230839.utioi5i2c5kozm4d@synopsys.com> On Wed, May 08, 2024 at 11:08:43PM +0000, Thinh Nguyen wrote: > On Mon, May 06, 2024, Krishna Kurapati wrote: > > While fixing a merge conflict in linux-next, hw_mode variable > > was left unused. Remove the unused variable in hs_phy_setup call. > > > > Reported-by: kernel test robot > > Closes: https://urldefense.com/v3/__https://lore.kernel.org/all/202405030439.AH8NR0Mg-lkp@intel.com/__;!!A4F2R9G_pg!aXN14tvkvwnNZ9N8-EDi-Seef9jgZBKlkZRYasINRgTOU2ijWbTvFIxkZIXOThGQQHmXc0FjiJPFI1cgdCOyAafAxB-70Q$ > > Signed-off-by: Krishna Kurapati > > --- > > Changes in v2: > > Added reported by and closes tags. > > > > drivers/usb/dwc3/core.c | 3 --- > > 1 file changed, 3 deletions(-) > > > > diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c > > index 8b6f7769fcd5..7f176ba25354 100644 > > --- a/drivers/usb/dwc3/core.c > > +++ b/drivers/usb/dwc3/core.c > > @@ -676,11 +676,8 @@ static int dwc3_ss_phy_setup(struct dwc3 *dwc, int index) > > > > static int dwc3_hs_phy_setup(struct dwc3 *dwc, int index) > > { > > - unsigned int hw_mode; > > u32 reg; > > > > - hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); > > - > > reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(index)); > > > > /* Select the HS PHY interface */ > > -- > > 2.34.1 > > > > Looks like my response reporting the merge issue to Stephen fell through > the cracks. > > Thanks for the patch. > > Acked-by: Thinh Nguyen I think I already fixed this up when I did the merge a few hours ago, if not, please let me know. thanks, greg k-h