Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp329947ybi; Fri, 31 May 2019 02:06:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvZdckpt1ogBCyhqs3orEMsXCiwFagS9IZA8Xm5o1fifDOo/MxcONZtltG0cdIMM9Bapx2 X-Received: by 2002:a17:902:8a83:: with SMTP id p3mr8113627plo.88.1559293579028; Fri, 31 May 2019 02:06:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559293579; cv=none; d=google.com; s=arc-20160816; b=FELNn90V05NlWtdxp7bm5FNFXW+TZV3r/zByaBOn81n3WoLtMl83k9/B79d4MZB9fw L8wzLfBZlekyCI1sKqpDwXnYzS1Rr/rPm5R/r2Kz1YQO4PGu8cCHXV4a1j5OU4gSJzoe VMrggzKwR3XUxvEyDT5gAIiRZx01fVUFxUFEkxAr1aluyW73gn/a3RyX536YNcbNUbt1 dBgCMGDJLXvmNg+ugwMw63xWgJt7+ljyWvibt2b4UikHONokaky7Ci/BSupdyar6vRdO COin6X57Ty1H/QFeTzzDX5gkkkLoXK9H2XhcMssHsmr+pBcdjGc4ImffFMB6RD/hk3+W 1crQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=SOqJI+EZ5Db2ZI9zhzesDEizdcdTJUo9u2vKd2K8Ybc=; b=WXkSxybAkau9wkeOPKEooG9wX1PXR4mqCo84I86iH/sFiaCDKmxhZQa4toKfSSOnkY 61k/PQKD4sFpVieLVk5L0CFpQbVMdbWlqQJ+Yy7bXARCokZASPZbLN151I0bCgMsgBzi byD3sCOJoqUqeHhbeWAaPdpYWBnF1MgaFaIfqFiRh+xiqyWuSMjiV74Kvo7m/22pJUQN PdgDE4DYjLgg7p1EUfIMBgemzenTS8PwIaFZw3sFVHz2ma1hM1xxBltmCzvI5OII+dLf LcgBXmtZ+Zo0ULsQuG6jChxnnor8bm/odvjphjEJGkFmq3pr8fa7k1UjwUOcULtTDy9f AYmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=VUwuo3eu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k10si5474595pgo.0.2019.05.31.02.05.59; Fri, 31 May 2019 02:06:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=VUwuo3eu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727175AbfEaJEY (ORCPT + 99 others); Fri, 31 May 2019 05:04:24 -0400 Received: from hqemgate15.nvidia.com ([216.228.121.64]:9171 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726240AbfEaJEY (ORCPT ); Fri, 31 May 2019 05:04:24 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Fri, 31 May 2019 02:04:13 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Fri, 31 May 2019 02:04:23 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Fri, 31 May 2019 02:04:23 -0700 Received: from [10.19.65.14] (172.20.13.39) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 31 May 2019 09:04:20 +0000 Subject: Re: [PATCH V2] drivers: i2c: tegra: fix checkpatch defects To: Dmitry Osipenko , Laxman Dewangan , Thierry Reding , Jonathan Hunter , , , CC: Shardar Mohammed , Sowjanya Komatineni , Mantravadi Karthik References: <1559196850-7007-1-git-send-email-bbiswas@nvidia.com> <911e52ed-8f3c-583a-7610-e38723219eca@gmail.com> From: Bitan Biswas Message-ID: Date: Fri, 31 May 2019 02:04:17 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <911e52ed-8f3c-583a-7610-e38723219eca@gmail.com> X-Originating-IP: [172.20.13.39] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1559293453; bh=SOqJI+EZ5Db2ZI9zhzesDEizdcdTJUo9u2vKd2K8Ybc=; h=X-PGP-Universal:Subject:To:CC:References:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:X-Originating-IP: X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=VUwuo3eubu7zXKhOddS0+xUHK+pIZqRk1ytHUuVta019Jlps/++VHCOZulHeCNoXR ty6lcK/T6zxbkrPUk2p9thjjgTECf1jrmcw9tSZ7z78+avkfj+LtDUAYQhLf//vYqo Zu1QTNa55JHcvrv2pxj18VHSqe6L3zR/j4bH84EMz7MxlcEv2ZcOyuv9fwak7fx5g1 ukYurq8rqZ+HcVroE5VMO+a1OHXt6Fu2neMPYqqco+7LyxQjSeuAP+xCnIoLKylRiI E5G9w4WTX8AEybdu6ZF0DnbW4BKh9XWjXuUtwkeua5MeU5JoupWFx9YAFHA7GemwTP 2N9WZHWU6cShg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/30/19 4:43 AM, Dmitry Osipenko wrote: > 30.05.2019 14:36, Dmitry Osipenko =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> 30.05.2019 9:14, Bitan Biswas =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >>> Fix checkpatch.pl warning(s)/error(s)/check(s) in i2c-tegra.c >>> except for BUG/BUG_ON checks >> >> Please turn the BUG_ON's into WARN_ON's. The machine won't go on fire, >> hence there is absolutely no good reason in making system unusable on a >> software bug. BUG_ON may be more useful for development, but not for a >> casual daily usage. I shall update the patch to remove the BUG/BUG_ON calls. >> >>> Signed-off-by: Bitan Biswas >>> --- >> >>> @@ -1034,7 +1038,7 @@ static int tegra_i2c_xfer_msg(struct tegra_i2c_de= v *i2c_dev, >>> u32 *buffer =3D NULL; >>> int err =3D 0; >>> bool dma; >>> - u16 xfer_time =3D 100; >>> + u16 xfer_tm =3D 100; >> >> What's wrong with the "time"? I'm finding the "xfer_tm" as a very >> unintuitive naming. >> >=20 > Also, please don't version patch as v2 if v1 was never sent out. >=20 I marked the patch version as V2 incorrectly. Sorry. I shall be careful=20 about the patch version sequence from now on. -regards, Bitan