Received: by 2002:a17:90b:8d0:0:0:0:0 with SMTP id ds16csp188156pjb; Thu, 16 Jul 2020 11:29:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEiYmvH6AaeWcU7az6/5xMMJEEyOlC2ni0iSBMz/086BqCUKMiUcdc0+IUaOhTdLv1b0C0 X-Received: by 2002:aa7:da8a:: with SMTP id q10mr5726394eds.139.1594924153187; Thu, 16 Jul 2020 11:29:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594924153; cv=none; d=google.com; s=arc-20160816; b=AE+Hs08RXfa2lJxbvZBsVYCub+bPQGXRt1+HfLCAVpYlNEAe7Zx9F4fcJcpIUZOYSG K9yh7s+kgAgZd7cVxsYaCJvYaztkjsjUom6ODuhhf/pIj3SIufAxdX6dGJNYIQiJFh/h /M5rnrI9CWRKzjiyMqt8piAgqSf52JsHop8HLxbLp8FYCom5bE2swWpOTAhaU7+PgmgF sk9Qr1wjXabsUdTHZ5LbITM5PF8QAK8Xc4gddlm0TirqbfkpSF9YLHfIRuHz7VjIhM1i Rpjy0U7hFjk5JnAzdA72LIHz2n6p9HQctqJurULFNghdJ1zpSFs/krVWr/juWhyO8y2w W/lw== 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=isN9OKuBYyt3teJZNY5I47avrefe8ld7r2bf5EdTw/0=; b=MrJeZRMZio9syLpQDopqLOcrQxseaCuGLdYFvWTUV3FfZwTSKpqfiUT/ixdgXXwUI+ 3Z+sVMRIoPEloST1+v68ZM3KVdotc5V6sknRA0MFbj+U3AZOFVl8oiYrlRkaQVoK5sb3 sESa+EPb7gIaqNTUPKZY63GjxJRTez7DapUwVZN6nY/WqpWk7XIYBCnFz3wPstDHgfOA EQDGM0Mf0ss8YW4i0tC3k/eR+blLYB4upH32cBpfo1cpmjPxMshYdut63aWjvgWKNZL2 gw0mkwOu9X0TQkojhcoAzpOQxxi7N53xX74RgULYh9nYxKKV2U87fWmQbg2rPeTPBNuw q4BA== 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oa20si3469905ejb.714.2020.07.16.11.28.50; Thu, 16 Jul 2020 11:29:13 -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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729316AbgGPS03 (ORCPT + 99 others); Thu, 16 Jul 2020 14:26:29 -0400 Received: from mga11.intel.com ([192.55.52.93]:18196 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726986AbgGPS03 (ORCPT ); Thu, 16 Jul 2020 14:26:29 -0400 IronPort-SDR: qGvNqRlJQCls0Rg38nwEwwzu2z3yh+E6zvWHGaKQvJ0q5Z32KSBoJZTXjQazdcX5AMvNXTIIkM JpIJnIIOr42g== X-IronPort-AV: E=McAfee;i="6000,8403,9684"; a="147461501" X-IronPort-AV: E=Sophos;i="5.75,360,1589266800"; d="scan'208";a="147461501" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jul 2020 11:26:27 -0700 IronPort-SDR: sNRhZZDdubKD2nsinea1jGjgLKdT7PBFxrDpzy+PP6d03Qh4m/FY1Nwk7Bje2doLA36MTzxcdz iN8ZJTJhzuNQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,360,1589266800"; d="scan'208";a="361119837" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga001.jf.intel.com with ESMTP; 16 Jul 2020 11:26:24 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1jw8aO-002CtJ-Lv; Thu, 16 Jul 2020 21:26:24 +0300 Date: Thu, 16 Jul 2020 21:26:24 +0300 From: Andy Shevchenko To: Rayagonda Kokatanur Cc: Wolfram Sang , linux-i2c , Linux Kernel Mailing List , Ray Jui , Scott Branden , bcm-kernel-feedback-list , Lori Hikichi , Robert Richter , Nishka Dasgupta , linux-arm Mailing List Subject: Re: [PATCH V1 2/2] i2c: iproc: add slave pec support Message-ID: <20200716182624.GT3703480@smile.fi.intel.com> References: <20200716080836.2279-1-rayagonda.kokatanur@broadcom.com> <20200716080836.2279-3-rayagonda.kokatanur@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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, Jul 16, 2020 at 10:49:14PM +0530, Rayagonda Kokatanur wrote: > On Thu, Jul 16, 2020 at 3:44 PM Andy Shevchenko > wrote: > > On Thu, Jul 16, 2020 at 11:14 AM Rayagonda Kokatanur > > wrote: ... > > > -#define S_RX_PEC_ERR_SHIFT 29 > > > +#define S_RX_PEC_ERR_SHIFT 28 > > This needs to be explained in the commit message, in particular why > > this change makes no regression. > > I didn't get what do you mean by "no regression", please elaborate. The definition above has been changed. The point is you have to point out in the commit message why it's okay and makes no regression. For example, "..._SHIFT is changed to ... according to documentation. Since there was no user of it no regression will be made." Provide proper text, b/c I have no idea what is exactly the reason of the change and if it's indeed used to have no users. ... > > > + ret = bcm_iproc_smbus_check_slave_pec(iproc_i2c, > > > + val); > > > > One line looks better. > > Yes, but to have 80 char per line, I have to do this. We have more, but even if you stick with 80 the above is harder to get than if it is one line. -- With Best Regards, Andy Shevchenko