Re: [PATCH V8] i2c: tegra: remove BUG() macro

2019-06-18 Thread Dmitry Osipenko
18.06.2019 7:29, 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 > ---

[PATCH V8] i2c: tegra: remove BUG() macro

2019-06-17 Thread 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 | 49 ++