Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1141729ybg; Thu, 11 Jun 2020 01:59:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwp0bDNnOUdTjRhEDBbvb7LThg3ahI2xqN/sJmXGHJdWSc0Ucq6PddhWmveBfVSDafcEb2T X-Received: by 2002:aa7:c2c7:: with SMTP id m7mr6041298edp.148.1591865969238; Thu, 11 Jun 2020 01:59:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591865969; cv=none; d=google.com; s=arc-20160816; b=k+r7aQ+KIE5uYtp6XtObLZH8sNi6oyNlRQZNpfkzu5Trt3rwfFb9PCtIzYvzAnbNQB 2TxAqdrZe6h9GF9f8+AcElXrbN8YwXyol7yncWN+ajLQl5Q+wFIabWf4v2zsBAaN1G5Z T86w8fdYT6+clVf2bdUhrNJoIHdEhIy9qX9Bj98L2Z8sztJdOWQ07nKq3s2msYI6mSce bZKMKlZjSzCKOnEiN3bCLITndMrOUEc6b4VSvKOSVGp4UjFp/BRXvd/xhA/ghcqHN+3v eQzqTRBHutjvqrvzNdIthXQl/lHGyfatd4PFH9MEo8AnAG+jejghZN4FbrcEAm0DdLEE lveQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=/F0t0g3GugVV722N855T9GtVnz6lvo6An1hNBEZV3jo=; b=S8sJqgIN4A24fEraNoRShhzhvsu4wzUv5aEm9zk4fSpbAYlIDUteqsD9aD82CsZ/Cb RU866r/2yyKz8xtwzIep8rp0JnGnHW/qZVxvu4475ts4YzMovE5fl6sWx4OcIFe876q4 OqYfbPPiY5yUCxlgRuVwFqc3qnRWWo5gk4zXbmXWdS5hK+bz1nvW+eXFPZZHL74Y9CVk 8g+quG+w36hGDa2UUKUhBbiLx4uD1qyyc8p0iu3Fouq0p6AQlCph60aPNcuUDs/kNaAG rfqDwnJwaacMp+PW0GjwZRrACuohFZ/JJaSrAq7y9uyEzJNd2G4GKgD+OF0RjgG8Ms7R 0wRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y1si1551067ejq.726.2020.06.11.01.59.06; Thu, 11 Jun 2020 01:59:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726998AbgFKI5L (ORCPT + 99 others); Thu, 11 Jun 2020 04:57:11 -0400 Received: from mga05.intel.com ([192.55.52.43]:23521 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726744AbgFKI5L (ORCPT ); Thu, 11 Jun 2020 04:57:11 -0400 IronPort-SDR: gkrByYmdD0llxZ7os43nv0FkpVmwnSKutCp89rC1VpQzmeMhYGIycqf2zoUwCcvCKAsaN7jIk8 2lHDAO4iPBjg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2020 01:57:11 -0700 IronPort-SDR: juYuwjBBW9pUdIFqtvG3zMWTcmKtppmN3Rnc6YnMclLnW8KezPcotPYDMWX4LzKxJg9MZTpMDO PXagRMx5znpw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,499,1583222400"; d="scan'208";a="296522276" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga004.fm.intel.com with ESMTP; 11 Jun 2020 01:57:08 -0700 Received: from andy by smile with local (Exim 4.93) (envelope-from ) id 1jjJ1K-00CJpU-Gh; Thu, 11 Jun 2020 11:57:10 +0300 Date: Thu, 11 Jun 2020 11:57:10 +0300 From: Andy Shevchenko To: "Ramuthevar, Vadivel MuruganX" Cc: linux-kernel@vger.kernel.org, balbi@kernel.org, p.zabel@pengutronix.de, gregkh@linuxfoundation.org, robh@kernel.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org, cheol.yong.kim@intel.com, qi-ming.wu@intel.com, yin1.li@intel.com Subject: Re: [PATCH v2 2/2] usb: phy: Add USB3 PHY support for Intel LGM SoC Message-ID: <20200611085710.GV2428291@smile.fi.intel.com> References: <20200611021246.3250-1-vadivel.muruganx.ramuthevar@linux.intel.com> <20200611021246.3250-3-vadivel.muruganx.ramuthevar@linux.intel.com> <20200611081254.GR2428291@smile.fi.intel.com> <21b5db0e-c45a-2255-0389-04b204685d63@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21b5db0e-c45a-2255-0389-04b204685d63@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 11, 2020 at 04:36:29PM +0800, Ramuthevar, Vadivel MuruganX wrote: > On 11/6/2020 4:12 pm, Andy Shevchenko wrote: > > On Thu, Jun 11, 2020 at 10:12:46AM +0800, Ramuthevar,Vadivel MuruganX wrote: > > > From: Ramuthevar Vadivel Murugan ... > > > + ret = readl_poll_timeout(ctrl1, val, val & SRAM_INIT_DONE, > > > + 10, 10 * 1000); > exceeds more than 80 characters, so checkpatch throws warnings, to avoid > that move to next line. > > On one line easier to read. It's 82 characters. It's fine. > > > + if (ret) { > > > + dev_err(ta->phy.dev, "SRAM init failed, 0x%x\n", val); > > > + return ret; > > > + } ... > > > + int ret = 0; > > > > Assignment is redundant. > so you mean , should be declared as > int ret; > right? Right. ... > > > + dev_info(ta->phy.dev, "connected%s\n", > > > + flipped ? " flipped" : ""); > > > > One line. > exceeds more than 80 characters, so checkpatch throw warnings, to avoid that > moved to next line. It's fine to have on one line. And by the way, try new checkpatch. -- With Best Regards, Andy Shevchenko