Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8439724ybi; Thu, 6 Jun 2019 12:19:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwz8byiBDXUxB1dwiirSq3gd8Eo4N51FuHs3+EfE/btCL48TrH48XpviIpmX43aGfoQ6A2r X-Received: by 2002:a63:b00e:: with SMTP id h14mr93815pgf.321.1559848761400; Thu, 06 Jun 2019 12:19:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559848761; cv=none; d=google.com; s=arc-20160816; b=UTStXg380rjXTFLtu2CWauv9uv+XJ23tNduCTMzmqMyfSq7UbMv9+bNjgKXMIRKb50 0y2OpgxdawT6UZ53su0eC1pY5h5VX83un3r1LWqfG/bDtTlKgEgaocNxaj5O6Vfj9ASp TuyOHHYxaaNCPwBMsZvJAnCnVdJfwsViwrm+awzwGV48Lh8zNYucUYTf+6bsvwxBJvxX JyuP3Dh3WftOfP5aB7qlDoLKaldLx/qFs2076xirZzkMGqiWMMW6MFB0wZO8O0tlfDhy oR45X2LFWmK9wQMKSjHSOg37T8TQeIrpC9fwiv7QJoFcSLWxfhAJNBHkkJKUaSwMECvU Lt9A== 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=jTycISHvzYZBtb3jGCxiwfAEQxyD+9f6C6EbRDfPvsI=; b=XSPjKIe9+66AcT182pzhxShSXfyFJuCQuLVxfykCwFw+O4O4FTsR8jJsFEHLrZ4c6Y 61gxfMqk3c6at57cFVExOeHfNTIPA4BiWnfPdFKIYvhE2mqjR8GJsKVHjcwp8oQpwE70 LkGhkFaLkpm0GhBtVbmyfzl7YFAIUAx9bT1YHVRZB9DiK1IC/+LVLj/q2GMyvVwLW6PW wymt6bUhF4rPGecv6ZQzRB4INfjiDkI870JP0/YnFUlQDnpDaL6UKkRk83GCCAhAPkEi M1lt4DDiMenxx+1H4Q81T4zOe2GsakCsY9z7n0qgg3FxoMEiKw8vU3dgTVEQOMMBRQ/h ropg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=KyIHywvR; 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 w206si2615359pff.33.2019.06.06.12.19.04; Thu, 06 Jun 2019 12:19:21 -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=KyIHywvR; 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 S1730554AbfFFSWx (ORCPT + 99 others); Thu, 6 Jun 2019 14:22:53 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:17864 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727559AbfFFSWw (ORCPT ); Thu, 6 Jun 2019 14:22:52 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 06 Jun 2019 11:22:50 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Thu, 06 Jun 2019 11:22:51 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Thu, 06 Jun 2019 11:22:51 -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; Thu, 6 Jun 2019 18:22:48 +0000 Subject: Re: [PATCH V4] drivers: i2c: tegra: fix checkpatch defects To: Wolfram Sang CC: Laxman Dewangan , Thierry Reding , Jonathan Hunter , , , , Shardar Mohammed , Sowjanya Komatineni , Mantravadi Karthik References: <1559806523-1352-1-git-send-email-bbiswas@nvidia.com> <20190606115705.6j2oigsm2imvvqh7@ninjato> From: Bitan Biswas Message-ID: <70a73e4b-c5d2-9c5d-7b18-f4325c6360b3@nvidia.com> Date: Thu, 6 Jun 2019 11:22:45 -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: <20190606115705.6j2oigsm2imvvqh7@ninjato> X-Originating-IP: [172.20.13.39] X-ClientProxiedBy: HQMAIL103.nvidia.com (172.20.187.11) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1559845370; bh=jTycISHvzYZBtb3jGCxiwfAEQxyD+9f6C6EbRDfPvsI=; 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=KyIHywvRzsGtBRAA89zkQCmwCCCTLAqw0dJfZxHFD112/7Urh5Q45r35x9vFcnm/W 24FfQblvJ+eYfOvy1CfE9E9UaFfUx1Ih+NFkS7Ha3dBGoLk0LzanVE5pIUUpyRhnbb xvnQv9aGFGnOYuM9rL9nAovYCR3mIw8pBkzRn5ApwFMpvoZJtxZAU3ZY77CcZgqazP NzLNMcpf16E+NsB/6j5kqNpq6a1gIysDCZKbF/QebIR7dcGpIgkjLQ1k/VrJMNds9G A6ruOkuddpm6gNcmySp3Ywc2Q5uMsx/uD24TjhkG7RbAOzmHnhwOH9fKcsWSGr2Njr uTevDTBLtoH7Q== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/6/19 4:57 AM, Wolfram Sang wrote: > On Thu, Jun 06, 2019 at 12:35:23AM -0700, Bitan Biswas wrote: >> Fix checkpatch.pl warning(s)/error(s)/check(s) in i2c-tegra.c >> >> Remove redundant BUG_ON calls or replace with WARN_ON_ONCE >> as needed. Replace BUG() with error handling code. >> Define I2C_ERR_UNEXPECTED_STATUS for error handling. >> >> Signed-off-by: Bitan Biswas > > I wonder why you didn't fix this checkpatch defect? > > WARNING: A patch subject line should describe the change not the tool that found it > I ran checkpatch.pl on the source file only hence missed this warning. I shall fix this in updated patch. -Thanks, Bitan