From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Osipenko Subject: Re: [PATCH V9] i2c: tegra: remove BUG() macro Date: Tue, 18 Jun 2019 14:29:35 +0300 Message-ID: References: <1560856182-26072-1-git-send-email-bbiswas@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <1560856182-26072-1-git-send-email-bbiswas@nvidia.com> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Bitan Biswas , Laxman Dewangan , Thierry Reding , Jonathan Hunter , linux-i2c@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Rosin , Wolfram Sang Cc: Shardar Mohammed , Sowjanya Komatineni , Mantravadi Karthik List-Id: linux-tegra@vger.kernel.org 18.06.2019 14:09, Bitan Biswas пишет: > 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 > --- > drivers/i2c/busses/i2c-tegra.c | 47 +++++++++++++++++++++++++++++++++++------- > 1 file changed, 39 insertions(+), 8 deletions(-) Thank you very much! Please keep applying all the advises that were given to you during the reviews in the future patches. I made a quick test and no problems spotted, all warning spots are silent. Reviewed-by: Dmitry Osipenko Tested-by: Dmitry Osipenko