Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp951437lqo; Sat, 11 May 2024 00:41:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWV77zMmefz/1PCcy2pnmmfXQ8VJF5Q7yFNOCg4lDW34lK/aIEfou93i6g7IFOheRE7cdjgZRqYoCIv7JIGg47sWFO/hQBRieV1/TZxZQ== X-Google-Smtp-Source: AGHT+IHEjEdjLTcjomTpL2yXh6nNqzVqn8kvgq2O8h9JocoywY8QSrofC8JbO8N2S521UHc9pLKo X-Received: by 2002:a17:903:120d:b0:1e3:cf18:7464 with SMTP id d9443c01a7336-1ef42d69b44mr65500875ad.3.1715413276586; Sat, 11 May 2024 00:41:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715413276; cv=pass; d=google.com; s=arc-20160816; b=fieEMD4ueAPjYvt4NZCaOqzFkLrmLNnrzGORwfFgRtVScLScQRz6/V4j3Sjq8bHNnZ hkmp+JMiPWkNxTZ8CUGWbbsyZ59BYbb1CVEU4b/bjsHQizrRooWj24/KjqYsnw7neupG NLs8eMS9JX/lpOx8s18UvY9Wafr/bBf9226sw4Tq0AMI6t8GuKKXMN1/AfyZchFLwjs9 CxmEsgPBZlb1rcPzJwfqqqd2y0cK/3XOmL+fr8bX3J9K4C9POzbvdaL6NKCLPLpFNb+Q 2th1lPPYD7L8NwMf+PZMdzsw0K6SWp/UyZCR0/h8yah7kHZd0T9qo6zsOz04lG1E7O69 0yUw== 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=C7SSPGBvYwUgTp5rUHp7l8TnrSNsDQ24AUjBU+6clyA=; fh=fmv/gGTYkD1OxCnXteTyv/BdVCtMsZ4+S48t7ocjBwE=; b=YL1ZFmTtOOQvEJfUWcuYhNiH4hYcFaXHsdoFJIdhkD4dtKp2rYVuCG1ST5V0dxSByU 2twWIkSC+GkUObv2y6uoKB4CJI3AKAaAZdK0YijhP2w89xNLX8q70xreQxLu5nSmaEQ0 tFMv/nEXz3hGLe3ZAq7ifVqrKNlHuW72OCs2/rYKKVwoTwLGzo+8xSiQrnwbhiI4Pq9i Cxp/nyTXSAw8ht9r7kRLZJhmg6FJn2r2gP042iVO+KsHJBbJ18JZu6+LBXYeT8+fxqhN 79Tp2R0cVQ50mqBbT4NVOxOGVcmsQQ0V2OYUOu/crruBPMp/pUJtjrourirA9GwXg3Ao MtbQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tPXCmPxJ; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-176453-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176453-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c039dbesi49447085ad.419.2024.05.11.00.41.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 00:41:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176453-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tPXCmPxJ; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-176453-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176453-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 6D3E9B2237A for ; Sat, 11 May 2024 07:41:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6612911190; Sat, 11 May 2024 07:40:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="tPXCmPxJ" 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 892D51C01; Sat, 11 May 2024 07:40:57 +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=1715413257; cv=none; b=GKS5v+B5j6zF8nCukay3K/KPyQADhQp/aoRc7pnppvShC3sgWKIPLVgo+TwMZgDbYua/+Jqe8yL4ZK2q3ASjrwCrect9YfQ7rTHR6JRhm/h+sLaQLIhhMhomKqBQHPf5+507uV+PzJv+CwUoQSjBEYImh3xOqAJvuDvwR+ULh2o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715413257; c=relaxed/simple; bh=A+uXYa44j5Kel+CugnlTp7NcH73Ib6xcoCFP9e6TNw4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Kiw3wS1iFW9vp64/e75Bt1PybivY+tq9689NO5nqsc/XTkCWdU/H5D0lDbVqfz7Mx69XPNHVe9jF1t82BBXq89RaoR/FSNt+1L3mVdlk7HSXCq8r+GYuvnfLV5kQZ59mzd3w2s4Tjdld3fEet/Y5f7T9+e7N6yocgAx7OfSpDpQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tPXCmPxJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0CD36C2BD10; Sat, 11 May 2024 07:40:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715413257; bh=A+uXYa44j5Kel+CugnlTp7NcH73Ib6xcoCFP9e6TNw4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tPXCmPxJTT6lCv8BORjc73vyPZqmMd2stBOk7DOM2bx6y65Nh7awCjRnfkKfA2ccc lQbCOOAFe+fUsNSXDCW6TJ2lZuZ9oph4kJMajnWQdfsKob+pj6H7SVpUbEHDjpVj1F 9f68aS1ip+IPGP8lqYC+APUsDhyZbqBTDpTWgln8= Date: Sat, 11 May 2024 08:40:55 +0100 From: Greg Kroah-Hartman To: Krishna Kurapati PSSNV Cc: Thinh Nguyen , "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: <2024051147-prance-importer-8eed@gregkh> References: <20240506074939.1833835-1-quic_kriskura@quicinc.com> <20240508230839.utioi5i2c5kozm4d@synopsys.com> <2024051050-pantomime-sudden-a382@gregkh> <0f056ece-6d38-428e-bf18-edb053c90ca7@quicinc.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: <0f056ece-6d38-428e-bf18-edb053c90ca7@quicinc.com> On Sat, May 11, 2024 at 12:56:29AM +0530, Krishna Kurapati PSSNV wrote: > > > On 5/10/2024 2:58 PM, Greg Kroah-Hartman wrote: > > 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. > > > > Hi Greg, > > I just checked usb-next and linux-next. The unused variable is still there. > Can you pick this change up. Now applied, thanks. greg k-h