From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C80DFC43613 for ; Thu, 20 Jun 2019 09:24:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8F86E2082C for ; Thu, 20 Jun 2019 09:24:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=nvidia.com header.i=@nvidia.com header.b="aFykmx6X" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726525AbfFTJYG (ORCPT ); Thu, 20 Jun 2019 05:24:06 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:15092 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725875AbfFTJYF (ORCPT ); Thu, 20 Jun 2019 05:24:05 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 20 Jun 2019 02:24:03 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Thu, 20 Jun 2019 02:24:04 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Thu, 20 Jun 2019 02:24:04 -0700 Received: from [10.19.64.157] (172.20.13.39) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 20 Jun 2019 09:24:00 +0000 Subject: Re: [PATCH V9] i2c: tegra: remove BUG() macro To: Bitan Biswas , Thierry Reding , Jonathan Hunter , , , , Peter Rosin , Wolfram Sang , Dmitry Osipenko References: <1560856182-26072-1-git-send-email-bbiswas@nvidia.com> CC: Shardar Mohammed , Sowjanya Komatineni , Mantravadi Karthik From: Laxman Dewangan Message-ID: Date: Thu, 20 Jun 2019 14:53:56 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1560856182-26072-1-git-send-email-bbiswas@nvidia.com> X-Originating-IP: [172.20.13.39] X-ClientProxiedBy: HQMAIL106.nvidia.com (172.18.146.12) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1561022644; bh=rlztNEug3hk4IBq5DjW1s4T+e1rUkPC3E75CrKzHJRY=; h=X-PGP-Universal:Subject:To:References:CC:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:X-Originating-IP: X-ClientProxiedBy:Content-Type:Content-Transfer-Encoding; b=aFykmx6XFhAy9pbHntU+O7i8L7t2m79gU0JV5gtCDxcImL/RinX1L0IjiqtCmdiiO 1e+5WzFUMlDlA+2lu0y4gBLm8KHQMBUXZRfXYbCjTTTGDSo2mFYBkJ3aNZUlw6uSmv w5YvVpMNG2BqBznTBlil29B7EiuCgNjeW9YBmc0dW494BCP0Ma3xZ4BRfm9Sk/NRod aET96y5A888cPGwqbiKZAHacRntZ8Cy4Oc+KS8ORPT7sLDffGZrx9RIGoH7gOz5TAU g4f2nX2u6e0BukYgz/LHB8M4GnApanOS7op3xnsZtZ1i9a83tH18ORCXCImbrvRwGA 3Y60TqFR+Ujcw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 18 June 2019 04:39 PM, Bitan Biswas wrote: > The usage of BUG() macro is generally discouraged in kernel, unless > it's a problem that results in a physical damage or loss of data. > This patch removes unnecessary BUG() macros and replaces the rest > with warning. > > Signed-off-by: Bitan Biswas > Acked By: Laxman Dewangan Thanks, Laxman