Re: [PATCH V9] i2c: tegra: remove BUG() macro
From: Thierry Reding
Date: Thu Jun 20 2019 - 06:35:45 EST
On Tue, Jun 18, 2019 at 04:09:42AM -0700, 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 <bbiswas@xxxxxxxxxx>
> drivers/i2c/busses/i2c-tegra.c | 47 +++++++++++++++++++++++++++++++++++-------
> 1 file changed, 39 insertions(+), 8 deletions(-)
Acked-by: Thierry Reding <treding@xxxxxxxxxx>
Description: PGP signature