Re: [PATCH V4] drivers: i2c: tegra: fix checkpatch defects

From: Wolfram Sang
Date: Thu Jun 06 2019 - 08:01:14 EST


On Thu, Jun 06, 2019 at 12:35:23AM -0700, Bitan Biswas wrote:
> Fix checkpatch.pl warning(s)/error(s)/check(s) in i2c-tegra.c
>
> Remove redundant BUG_ON calls or replace with WARN_ON_ONCE
> as needed. Replace BUG() with error handling code.
> Define I2C_ERR_UNEXPECTED_STATUS for error handling.
>
> Signed-off-by: Bitan Biswas <bbiswas@xxxxxxxxxx>

I wonder why you didn't fix this checkpatch defect?

WARNING: A patch subject line should describe the change not the tool that found it

Attachment: signature.asc
Description: PGP signature