On Thu, Jun 06, 2019 at 12:35:23AM -0700, Bitan Biswas wrote:I ran checkpatch.pl on the source file only hence missed this warning. I shall fix this in updated patch.
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