Messages in this thread | | | Subject | Re: [PATCH V9] i2c: tegra: remove BUG() macro | From | Dmitry Osipenko <> | Date | Tue, 18 Jun 2019 14:29:35 +0300 |
| |
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 <bbiswas@nvidia.com> > --- > 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 <digetx@gmail.com> Tested-by: Dmitry Osipenko <digetx@gmail.com>
| |